Skip to content

Fixed: Confusing report for a problem with CocoaPods during installation #2409

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

Merged
merged 1 commit into from
Jan 12, 2017

Conversation

tzraikov
Copy link
Contributor

Fixes #2363

@tzraikov tzraikov self-assigned this Jan 11, 2017
Copy link
Contributor

@rosen-vladimirov rosen-vladimirov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to explain what's the real problem:
When user executes npm install -g nativescript, the global (-g) flag is valid for all consecutive calls to npm in the same process. As $npm.install uses child_process.spawn, the tns-ios package is installed globally instead of installing it in the specified directory.
That's why we have to set it to false.

@rosen-vladimirov
Copy link
Contributor

Btw, shouldn't this target release branch?

@tzraikov
Copy link
Contributor Author

Created another PR in release

@tzraikov tzraikov merged commit 19b5654 into master Jan 12, 2017
@tzraikov tzraikov deleted the raikov/fix-2363 branch January 12, 2017 09:29
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

Successfully merging this pull request may close these issues.

2 participants