Skip to content

Commit

Permalink
Fix integration-tests issue with npm >= 7
Browse files Browse the repository at this point in the history
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!
```
  • Loading branch information
jaylinski committed May 17, 2022
1 parent 88ac068 commit 8e23642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/webpack-babel-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

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

for i in dist/*-test.js ; do
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/webpack-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

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

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

0 comments on commit 8e23642

Please sign in to comment.