-
-
Notifications
You must be signed in to change notification settings - Fork 197
ios builds with 2.0.0: Processing node_modules failed. TypeError: Cannot read property 'split' of null #1734
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
Here is a link to the full failing build stack trace |
@georgeedwards check if you have CocoaPods installed. If you have it, tell me which version it is. |
Installing CocoaPods 0.39.0 resolved it for me but before that I've seen it even in the |
Yes, I had to reinstall Cocoapods (with all the El Capitan and Xcode 7.3 quirks) and it started working again. Not sure why it affected |
Still valid in master |
I believe this issue is due to the Cocoapods master repo not having been setup. It happened to me when I changed to a new user account on my Mac, which of course had an empty ~/.cocoapods directory. I fixed it by following the suggestion here: CocoaPods/CocoaPods#4293 (comment) EDIT: I continued to have this issue until I did a chown on my entire project. Seems I had sudo npm installed some dependencies and "pod install" was failing because of that. If you see this error, the best sanity check is to |
Fixed with #1804 |
I have just restarted my mac for the first time since I updated to the CLI 2.0.0. My project which was working before now won't build, citing error:
I am running OSX El Capitan with XCode 7.3
Even if I run
npm install nativescript -g
I get the same error:The text was updated successfully, but these errors were encountered: