Skip to content

Errors with upgrading to 1.5 and platform/doctor commands #1266

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

Closed
verschuur opened this issue Nov 27, 2015 · 3 comments
Closed

Errors with upgrading to 1.5 and platform/doctor commands #1266

verschuur opened this issue Nov 27, 2015 · 3 comments

Comments

@verschuur
Copy link

I updated the global NPM package to 1.5, following the upgrade guide. During the install, I get the following error:

Cannot read property 'match' of null
Error: Unknown command 'dev-post-install'. Try '$ tns help' for a full list of supported commands.

After removing the Android platform, when I run tns platform add android I get an error Cannot read property 'match' of null.

When i run tns doctor I also get the Cannot read property 'match' of null error.

This is with the latest Android SDK installed (I think, I'm not much of an Android developer so I basically install what seems necessary). The iOS platform installs without any errors.

This happens on OSX 10.0.5 (Yosemite) using either node v4.2.1 or node 5.1.0, with node having been installed using Brew.

@rosen-vladimirov
Copy link
Contributor

Hi @gverschuur ,
The problem is that you do not have cocoapods installed. You can find more information in this thread.
I'm closing this one as it is duplicate of the mentioned one. Please note that the fix for this issue will be included in our next release. For the moment I suggest you to install cocoapods on your machine.

@verschuur
Copy link
Author

Thanks for the very quick reply, and for the duplicate issue. The fix there worked for me.

@rosen-vladimirov
Copy link
Contributor

I'm glad it helped. 😸

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

2 participants