-
Notifications
You must be signed in to change notification settings - Fork 12k
webpackJsonp is not defined #8026
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
Comments
Can you setup a minimal repro please? You can read here why this is needed. A good way to make a minimal repro is to create a new app via |
@filipesilva thank you! |
Having the same issue here... building with -aot (dev) works fine. Prod compiles without complaint but when loading the app on the browser, it returns the following errors:
|
I have same issue only on IE 11 |
Same issue here. |
Same issue here, |
Same issue. Local build works fine loading both the As soon as I push it live:
|
Time pass, I was using Workbox in production and then I try again with the release of Angular 5. I proceed to a lot of tests in the same conditions than before with previouses versions, and all is working as expected. |
Could you send me a example of your package.json file, please? Thanks a lot. |
@luizptm :
|
Thanks, @fabienbranchel. |
@luizptm : have you tried with the exact same versions of all depencies as above ? |
Yes, I tried it and nothing happen. It shows the same error. |
I had the same problem a while ago, turned out it was a problem with my browser (chrome). I cleaned the cache and then it worked great. |
Hi Len0re, I was using another browser (Maxthon) and I tried now on Chrome for the first time and I received the same error. Thanks for your help. |
I had the same kind of error in production only, on a NodeJS server... |
Could you be more specific? How ca I do this? Thanks for helping. |
@luizptm really can't tell you as it depend on your server... |
I'm getting the same problem showing up when I put a CDN in front of express...goes away when I invalidate the cache. Any reason this would pop up with the way a CDN stores/ distributes the files? |
Getting the same problem only sometimes though when loading production build in browser. |
Closing as no reproduction was provided. If the problem persists, please open a new issue following our submission guidelines. A good way to make a minimal repro is to create a new app via |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
Output from:
ng --version
.@angular/cli: 1.4.6
node: 6.11.3
os: darwin x64
@angular/animations: 4.4.4
@angular/cdk: 2.0.0-beta.12
@angular/common: 4.4.4
@angular/compiler: 4.4.4
@angular/core: 4.4.4
@angular/forms: 4.4.4
@angular/http: 4.4.4
@angular/material: 2.0.0-beta.12
@angular/platform-browser: 4.4.4
@angular/platform-browser-dynamic: 4.4.4
@angular/router: 4.4.4
@angular/cli: 1.4.6
@angular/compiler-cli: 4.4.4
@angular/language-service: 4.4.4
@angular/service-worker: 1.0.0-beta.16
typescript: 2.3.4
macOS Sierra 10.12.6
Android Devices :
Repro steps.
I have a webapp with a SW (generate by CLI), I build it with the "ng build --prod" command.
Important : I can't reproduce it without a registered SW.
OR
I can't reproduce the error on my Mac.
The log given by the failure.
Desired functionality.
Webapp launch & display OK.
Mention any other details that might be useful.
I've already find this similar issue : #4998
But my uglify version is 3.
The text was updated successfully, but these errors were encountered: