-
-
Notifications
You must be signed in to change notification settings - Fork 40
"webpackJsonp is not defined" error when building with --snapshot param #247
Comments
10x, but can you post the full build log - from running |
@sis0k0 Please find the logs attached. I didn't get any error during build, it happens only after app is launched on phone. |
@sis0k0 Any update on this, were you able to reproduce the issue on your end? |
@manojdcoder The problem is that the old snapshot plugin |
Does that solve the problem? |
@sis0k0 Thanks a lot, it worked with a clean build after removing I'm not sure how / when |
It used to be part of the default template till 3.1. Probably, that's why you still had it in your project. The plugin will be deprecated soon. I guess we can close this now? |
Thanks for the clarification, closing this issue. |
Hello team , I am facing same issue.
Here is error I am getting.
|
@govi2010 did you manage to find the cause of it? I have the same issue. |
@govi2010 any news about this? I'm having the exact same problem. |
The solution for this problem is this: NativeScript/nativescript-cli#2730 (comment) |
Heya, I want to share some information on the issue that @govi2010 described - the app works when built with |
Environment
Steps to reproduce:
package.json
as below (until then webpack build kept failing)npm run start-android-bundle --uglify
), build passed and app works as expected.npm run start-android-bundle --uglify --snapshot
) build passed but app throws exception on launch.The text was updated successfully, but these errors were encountered: