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

Build Fails #16

Open
rbetancor opened this issue Mar 6, 2017 · 2 comments
Open

Build Fails #16

rbetancor opened this issue Mar 6, 2017 · 2 comments

Comments

@rbetancor
Copy link

Just cloned the repo and after npm install, npm run build fails with this message:

rabs@juno:~/test/swagger2-angular2-materialize$ npm run build

[email protected] build /home/rabs/test/swagger2-angular2-materialize
npm run build:dev

[email protected] build:dev /home/rabs/test/swagger2-angular2-materialize
rimraf dist && webpack --config config/webpack.dev.config.js --progress --profile --bail

15129ms build modules
48ms seal
18ms optimize
1396ms build modules
42ms hashing
673ms create chunk assets
5ms additional chunk assets
0ms optimize chunk assets
90% optimize assetsError in bail mode: [default] /home/rabs/test/swagger2-angular2-materialize/node_modules/@types/highlight.js/index.d.ts:6:18
Cannot redeclare block-scoped variable 'hljs'.

npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/home/rabs/.nvm/versions/node/v6.10.0/bin/node" "/home/rabs/.nvm/versions/node/v6.10.0/bin/npm" "run" "build:dev"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build:dev: rimraf dist && webpack --config config/webpack.dev.config.js --progress --profile --bail
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:dev script 'rimraf dist && webpack --config config/webpack.dev.config.js --progress --profile --bail'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular2-swagger2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! rimraf dist && webpack --config config/webpack.dev.config.js --progress --profile --bail
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs angular2-swagger2
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls angular2-swagger2
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/rabs/test/swagger2-angular2-materialize/npm-debug.log

@EricCDI13
Copy link

Same for me

@rbetancor
Copy link
Author

I'm been able to upgrade to webpack 3 and now trying to fix the remaing 9 errors I get

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

2 participants