Skip to content

Unmet peerDependencies break adding of platform #2965

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
vchimev opened this issue Jul 10, 2017 · 0 comments
Closed

Unmet peerDependencies break adding of platform #2965

vchimev opened this issue Jul 10, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@vchimev
Copy link

vchimev commented Jul 10, 2017

If there are not satisfied peerDependencies then adding a platform fails. This leaves the project in a broken state with the platform added as a dependency.

Steps:

git clone [email protected]:NativeScript/nativescript-sdk-examples-ng.git
cd nativescript-sdk-examples-ng
git reset 642bde0cbea6f70659972d6bbf1a2bb6f2f502a4
npm install
tns run ios --log trace

Details:

  • node v6.10.2
  • npm 4.2.0

Output:

Installing  tns-ios
spawn: npm "install" "[email protected]" "--silent" "--save-exact" "--save"
[email protected] /Users/vchimev/Work/git/nativescript-sdk-examples-ng
├── UNMET PEER DEPENDENCY [email protected]
└── [email protected]

  ◠ Installing tns-iosspawn: npm "install" "[email protected]" "--silent" "--save-exact" "--save" "--json" "--dry-run" "--prefix" "/Users/vchimev/Work/git/nativescript-sdk-examples-ng"
Unable to apply changes on device: A81C3CED-87A4-41E9-B3C7-6613B4F2B533. Error is: cp: no such file or directory: /Users/vchimev/Work/git/nativescript-sdk-examples-ng/node_modules/tns-core-modules/framework/*.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants