diff --git a/samples/apps/forum/ci.sh b/samples/apps/forum/ci.sh index 62b495706..1f9e98f34 100755 --- a/samples/apps/forum/ci.sh +++ b/samples/apps/forum/ci.sh @@ -8,10 +8,10 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" CCF_APP_PKG_DIR="$SCRIPT_DIR/../../../js/ccf-app" pushd "$CCF_APP_PKG_DIR" -npm install +npm install --no-package-lock popd pushd "$SCRIPT_DIR" -npm install +npm install --no-package-lock unbuffer npm test popd \ No newline at end of file diff --git a/tests/js-modules/modules.py b/tests/js-modules/modules.py index ba6ec49d1..f83a493ae 100644 --- a/tests/js-modules/modules.py +++ b/tests/js-modules/modules.py @@ -186,7 +186,7 @@ def test_npm_app(network, args): LOG.info("Building ccf-app npm package (dependency)") ccf_pkg_dir = os.path.join(PARENT_DIR, "..", "js", "ccf-app") - subprocess.run(["npm", "install"], cwd=ccf_pkg_dir, check=True) + subprocess.run(["npm", "install", "--no-package-lock"], cwd=ccf_pkg_dir, check=True) LOG.info("Building npm app") app_dir = os.path.join(PARENT_DIR, "npm-app")