Skip to content

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

Merged
tzraikov merged 1 commit into
masterfrom
raikov/fix-2363
Jan 12, 2017
Merged

Fixed: Confusing report for a problem with CocoaPods during installation#2409
tzraikov merged 1 commit into
masterfrom
raikov/fix-2363

Conversation

@tzraikov
Copy link
Copy Markdown
Contributor

Fixes #2363

@tzraikov tzraikov self-assigned this Jan 11, 2017
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Btw, shouldn't this target release branch?

@tzraikov
Copy link
Copy Markdown
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