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

Obscure webpack error on travis #116

Open
CharlotteFawsitt opened this issue Nov 11, 2019 · 0 comments
Open

Obscure webpack error on travis #116

CharlotteFawsitt opened this issue Nov 11, 2019 · 0 comments

Comments

@CharlotteFawsitt
Copy link
Contributor

CharlotteFawsitt commented Nov 11, 2019

Investigate the below output that is being printed out when running tests

> [email protected] cleanup /tmp/cf266c642bf5f0b4979fbe27e7fce31bdb3f9cf8
> rimraf target/classes/static/ target/classes/aot
> [email protected] webpack:build:main /tmp/cf266c642bf5f0b4979fbe27e7fce31bdb3f9cf8
> npm run webpack -- --config webpack/webpack.dev.js --env.stats=minimal
> [email protected] webpack /tmp/cf266c642bf5f0b4979fbe27e7fce31bdb3f9cf8
> node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js "--config" "webpack/webpack.dev.js" "--env.stats=minimal"
internal/modules/cjs/loader.js:638
    throw err;
    ^
Error: Cannot find module '/tmp/cf266c642bf5f0b4979fbe27e7fce31bdb3f9cf8/node_modules/webpack/bin/webpack.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] webpack: `node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js "--config" "webpack/webpack.dev.js" "--env.stats=minimal"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] webpack script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/travis/.npm/_logs/2019-11-11T09_48_52_951Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] webpack:build:main: `npm run webpack -- --config webpack/webpack.dev.js --env.stats=minimal`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] webpack:build:main script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/travis/.npm/_logs/2019-11-11T09_48_52_968Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] webpack:build: `npm run cleanup && npm run webpack:build:main`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] webpack:build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/travis/.npm/_logs/2019-11-11T09_48_52_981Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant