Skip to content

Commit 8e23642

Browse files
committed
Fix integration-tests issue with npm >= 7
Fixes the following error when running integration-tests: ``` npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/handlebars npm ERR! dev handlebars@"file:../../.." from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer handlebars@">= 1.3.0 < 5" from [email protected] npm ERR! node_modules/handlebars-loader npm ERR! dev handlebars-loader@"^1.7.1" from the root project npm ERR! ```
1 parent 88ac068 commit 8e23642

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integration/webpack-babel-test/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
# Cleanup: package-lock and "npm ci" is not working with local dependencies
66
rm dist package-lock.json -rf
7-
npm install
7+
npm install --legacy-peer-deps
88
npm run build
99

1010
for i in dist/*-test.js ; do

tests/integration/webpack-test/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
# Cleanup: package-lock and "npm ci" is not working with local dependencies
66
rm dist package-lock.json -rf
7-
npm install
7+
npm install --legacy-peer-deps
88
npm run build
99

1010
for i in dist/*-test.js ; do

0 commit comments

Comments
 (0)