Use the --include command, hides warning messages

Fixes #1983
This commit is contained in:
Roel Adriaans 2023-09-08 15:12:45 +02:00
parent e2c6a822c7
commit 493c20ce91

View file

@ -93,7 +93,7 @@ def install_environment(
# install as if we installed from git # install as if we installed from git
local_install_cmd = ( local_install_cmd = (
'npm', 'install', '--dev', '--prod', 'npm', 'install', '--include=dev', '--include=prod',
'--ignore-prepublish', '--no-progress', '--no-save', '--ignore-prepublish', '--no-progress', '--no-save',
) )
lang_base.setup_cmd(prefix, local_install_cmd) lang_base.setup_cmd(prefix, local_install_cmd)