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

Webpack does not work for the project #158

Closed
ignaciolarranaga opened this issue Sep 27, 2016 · 5 comments
Closed

Webpack does not work for the project #158

ignaciolarranaga opened this issue Sep 27, 2016 · 5 comments

Comments

@ignaciolarranaga
Copy link

Simply run tns run ios --bundle and you will see:

Sep 27 05:44:06 MacBook-Pro-de-Ignacio sampleGroceries[40025]: 1   0x1005228d7 -[TNSRuntime executeModule:]
Sep 27 05:44:06 MacBook-Pro-de-Ignacio sampleGroceries[40025]: 2   0x1000866c2 main
Sep 27 05:44:06 MacBook-Pro-de-Ignacio sampleGroceries[40025]: 3   0x103f0192d start
Sep 27 05:44:06 MacBook-Pro-de-Ignacio sampleGroceries[40025]: 4   0x1
Sep 27 05:44:06 MacBook-Pro-de-Ignacio sampleGroceries[40025]: file:///app/main.js:2:25: JS ERROR Error: Could not find module 'nativescript-angular/platform'. Computed path '/Users/ignacio/Library/Developer/CoreSimulator/Devices/00A4117D-42D7-4D34-A741-4D4FAA4286CD/data/Containers/Bundle/Application/224AB759-165C-41F6-99AE-A89436D95A65/sampleGroceries.app/app/tns_modules/nativescript-angular/platform'.
Sep 27 05:44:06 MacBook-Pro-de-Ignacio com.apple.CoreSimulator.SimDevice.00A4117D-42D7-4D34-A741-4D4FAA4286CD.launchd_sim[71640] (UIKitApplication:org.nativescript.groceries[0xd67][40025]): Service exited due to signal: Segmentation fault: 11
@tjvantoll
Copy link
Contributor

Hey @ignaciolarranaga,

Sorry for the late reply and thanks for reporting this. @hdeshev any idea what’s up here? I can confirm this and I get the same error.

@ignaciolarranaga
Copy link
Author

Thanks @tjvantoll I'm actually more concerned on this one: NativeScript/nativescript-angular#474 but reported this because I think packing up the app should improve the overall performance.

@hdeshev
Copy link
Contributor

hdeshev commented Oct 17, 2016

The Everlive SDK breaks bundling for Groceries right now. I could get it to bundle by introducing some changes to the SDK bundle (yuck!), but it's best if we wait for a proper solution.

We're working with the Everlive guys, to make sure their next release contains CommonJS modules which will be dead easy to bundle with any NativeScript app.

@tjvantoll
Copy link
Contributor

Thanks @hdeshev, that makes sense. I’ll wait until an update gets pushed and switch things over then.

@tjvantoll
Copy link
Contributor

Closing in favor of #213, as we’re actively working on making this happen.

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

3 participants