{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/1734","repository_url":"https://api.github.com/repos/NativeScript/nativescript-cli","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/1734/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/1734/comments","events_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/1734/events","html_url":"https://github.com/NativeScript/nativescript-cli/issues/1734","id":152192556,"number":1734,"title":"ios builds with 2.0.0: Processing node_modules failed. TypeError: Cannot read property 'split' of null","user":{"login":"georgeedwards","id":10045919,"avatar_url":"https://avatars.githubusercontent.com/u/10045919?v=3","gravatar_id":"","url":"https://api.github.com/users/georgeedwards","html_url":"https://github.com/georgeedwards","followers_url":"https://api.github.com/users/georgeedwards/followers","following_url":"https://api.github.com/users/georgeedwards/following{/other_user}","gists_url":"https://api.github.com/users/georgeedwards/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeedwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeedwards/subscriptions","organizations_url":"https://api.github.com/users/georgeedwards/orgs","repos_url":"https://api.github.com/users/georgeedwards/repos","events_url":"https://api.github.com/users/georgeedwards/events{/privacy}","received_events_url":"https://api.github.com/users/georgeedwards/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-01T10:24:11Z","updated_at":"2016-05-04T11:32:10Z","closed_at":null,"body":"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:\r\n\r\n>Processing node_modules failed. TypeError: Cannot read property 'split' of null\r\n\r\nI am running OSX El Capitan with XCode 7.3\r\n\r\nEven if I run `npm install nativescript -g` I get the same error:\r\n\r\n```\r\nUnknown-88-63-df-a3-2e-e9:demo georgeedwards$ npm install nativescript -g\r\nnpm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css\r\nnpm WARN deprecated lodash-node@2.4.1: This package has been discontinued in favor of lodash@^4.0.0.\r\nnpm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.\r\nnpm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v6.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.\r\nnpm WARN excluding symbolic link docs/assets/ir_black.css -> ../../node_modules/highlight.js/src/styles/ir_black.css\r\nnpm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Resources -> Versions/Current/Resources\r\nnpm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Test Framework -> Versions/Current/Test Framework\r\nnpm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Versions/Current -> A\r\n/Users/georgeedwards/.npm-packages/bin/tns -> /Users/georgeedwards/.npm-packages/lib/node_modules/nativescript/bin/nativescript.js\r\n/Users/georgeedwards/.npm-packages/bin/nativescript -> /Users/georgeedwards/.npm-packages/lib/node_modules/nativescript/bin/nativescript.js\r\n\r\n> nativescript@2.0.0 postinstall /Users/georgeedwards/.npm-packages/lib/node_modules/nativescript\r\n> node postinstall.js\r\n\r\nWARNING: CocoaPods is not installed or is not configured properly.\r\nYou will not be able to build your projects for iOS if they contain plugin with CocoaPod file.\r\nTo be able to build such projects, verify that you have installed CocoaPods.\r\nCannot read property 'split' of null\r\nError: Unknown command 'dev-post-install'. Try '$ tns help' for a full list of supported commands.\r\n    at Object.<anonymous> (/Users/georgeedwards/.npm-packages/lib/node_modules/nativescript/lib/common/errors.js:7:23)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at Object.<anonymous> (/Users/georgeedwards/.npm-packages/lib/node_modules/nativescript/lib/nativescript-cli.js:8:16)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n/Users/georgeedwards/.npm-packages/lib\r\n└── nativescript@2.0.0 \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/comments/216834227","html_url":"https://github.com/NativeScript/nativescript-cli/issues/1734#issuecomment-216834227","issue_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/1734","id":216834227,"user":{"login":"TsvetanMilanov","id":10463529,"avatar_url":"https://avatars.githubusercontent.com/u/10463529?v=3","gravatar_id":"","url":"https://api.github.com/users/TsvetanMilanov","html_url":"https://github.com/TsvetanMilanov","followers_url":"https://api.github.com/users/TsvetanMilanov/followers","following_url":"https://api.github.com/users/TsvetanMilanov/following{/other_user}","gists_url":"https://api.github.com/users/TsvetanMilanov/gists{/gist_id}","starred_url":"https://api.github.com/users/TsvetanMilanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TsvetanMilanov/subscriptions","organizations_url":"https://api.github.com/users/TsvetanMilanov/orgs","repos_url":"https://api.github.com/users/TsvetanMilanov/repos","events_url":"https://api.github.com/users/TsvetanMilanov/events{/privacy}","received_events_url":"https://api.github.com/users/TsvetanMilanov/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T11:32:10Z","updated_at":"2016-05-04T11:32:10Z","body":"@georgeedwards check if you have CocoaPods installed. If you have it, tell me which version it is."}}