The following project throws a seg fault 11 after an upgrade to nativescript 2.5:
https://github.com/alexziskind1/courses-rps-conference-app-ng/tree/master/rps-conf-ng
Here's the full error message:
ERROR Error: Could not find module './locales/nb_NO'. Computed path '/Users/alex/Library/Developer/CoreSimulator/Devices/7EF5EC7B-FB52-49AF-B710-2077B6F98F98/data/Containers/Bundle/Application/2315EEB1-3603-4678-B6F6-F1834C7437D2/rpsconfng.app/app/tns_modules/faker/lib/locales/nb_NO'.
Feb 5 21:05:55 AlexMBP com.apple.CoreSimulator.SimDevice.7EF5EC7B-FB52-49AF-B710-2077B6F98F98.launchd_sim[15029] (UIKitApplication:org.nativescript.rpsconfng[0xbb3f][16195]): Service exited due to Segmentation fault: 11
This was working well before the upgrade to 2.5 while on 2.4.2.
@alexziskind1 Can't reproduce. Ran:
git clone https://github.com/alexziskind1/courses-rps-conference-app-ng.git problem
cd problem && rps-conf-ng
tns run ios
Please provide more detailed information.
I was just able to reproduce with nativescript 2.5 installed. I recorded a video (about 1.5 minutes) of the process:
https://youtu.be/reeDLOIiSB8
Alex
@alexziskind1 Thank you, I managed to reproduce your problem, and I will investigate.
@alexziskind1 the missing file is not being copied. This is a problem with a module we're using called shelljs. It's fixed in the next version of the module so we'll try to update and all should be OK. I'll keep you posted.
OK Thanks! Is there something I can do in the meantime so I can move past this. Do you suggest a temporary workaround?
It might be easier than what I'm doing now - which is removing everything and installing 2.4.2.
You can use cli from @next, because i'll fix it shortly in master branch.
npm install -g nativescript@next
There will soon be a hot fix of cli.
Just to give some feedback - using the @next version (3.0.0-2017-02-09-7977) did work.
Thanks for the suggestion @Plamen5kov
Most helpful comment
Just to give some feedback - using the @next version (3.0.0-2017-02-09-7977) did work.
Thanks for the suggestion @Plamen5kov