Skip to content

npm start . webpack compile error #3

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

Closed
EuLeEr opened this issue Sep 30, 2017 · 2 comments
Closed

npm start . webpack compile error #3

EuLeEr opened this issue Sep 30, 2017 · 2 comments

Comments

@EuLeEr
Copy link

EuLeEr commented Sep 30, 2017

Hello ! This problem :
] [1104] .//zone.js/dist/zone.js 88.7 kB {2} [built]
[0] [1106] multi (webpack)-dev-server/client?http://localhost:5000 ./polyfills.ts 40 bytes {2} [built]
[0] + 336 hidden modules
[0]
[0] ERROR in polyfills.d12e0a60b879580541c7.js from UglifyJs
[0] Unexpected token: name (urlParts) [(webpack)-dev-server/client?http:/localhost:5000:24,0][polyfills.d12e0a60b879580541c7.js:2954,4]
[0] Child html-webpack-plugin for "index.html":
[0] chunk {0} index.html 541 kB [entry] [rendered]
[0] [0] ./
/lodash/lodash.js 540 kB {0} [built]
[0] [1] ./~/html-webpack-plugin/lib/loader.js!./src/index.html 642 bytes {0} [built]
[0] [2] (webpack)/buildin/global.js 509 bytes {0} [built]
[0] [3] (webpack)/buildin/module.js 517 bytes {0} [built]
[0] webpack: Failed to compile.
npm i && npm start running in environment https://github.com/bitnami/bitnami-docker-express
through connect to terminal docker exec -it "IdContainer" /bin/bash
bitnami@500e8f424294:/app/MasteringAngular$ npm view
npm ERR! Linux 4.4.0-91-generic
npm ERR! argv "/opt/bitnami/node/bin/node" "/opt/bitnami/node/bin/npm" "view"
npm ERR! node v7.7.4
npm ERR! npm v4.2.0
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/ng2-widgets-app
npm ERR! 404
npm ERR! 404 'ng2-widgets-app' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR! /home/bitnami/.npm/_logs/2017-09-30T18_57_14_872Z-debug.log

Can you help, Eric ?

@EuLeEr EuLeEr changed the title npm install npm start . webpack compile error Sep 30, 2017
@ericwgreene
Copy link
Contributor

I think I figured out the problem. It appears to be with the latest webpack development server and uglify-js. I have made a fix and it seems to work. If you want to read the issue I found which lead to the solution, here it is.

webpack/webpack-dev-server#1101

I am pushing my fixes now.

@EuLeEr
Copy link
Author

EuLeEr commented Oct 1, 2017

Thank a lot , Eric ! That's work !

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