Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target entry-point "ngx-cookie" has missing dependencies [🐛] #1313

Closed
bkimminich opened this issue Feb 22, 2020 · 1 comment
Closed

Target entry-point "ngx-cookie" has missing dependencies [🐛] #1313

bkimminich opened this issue Feb 22, 2020 · 1 comment

Comments

@bkimminich
Copy link
Member

bkimminich commented Feb 22, 2020

> juice-shop@10.0.0-SNAPSHOT build /home/travis/build/bkimminich/juice-shop
> cd frontend && node --max-old-space-size=8192 ./node_modules/@angular/cli/bin/ng build --aot --prod --output-hashing=none --vendor-chunk=true --source-map=false
Compiling @angular/core : es2015 as esm2015
Compiling @angular/common : es2015 as esm2015
Compiling @angular/platform-browser : es2015 as esm2015
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
Compiling @angular/common/http : es2015 as esm2015
ERROR in The target entry-point "ngx-cookie" has missing dependencies:
 - express-serve-static-core

This happened for several builds during Test stage (https://travis-ci.org/bkimminich/juice-shop/builds/653466626) but was fixed by adding "@types/express-serve-static-core": "^4.17.2" to the devDependencies. Now the same error occurs later instead in the Smoke stage: https://travis-ci.org/bkimminich/juice-shop/builds/653681980

I tried to run npm install --production (like the Smoke stage does) on my Win10 machine and it passes without errors even when I wipe both node_modules and frontend/node_modules folder and the frontend/dist directory beforehand.

@github-actions
Copy link

This thread has been automatically locked because it has not had recent activity after it was closed. 🔒 Please open a new issue for regressions or related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant