Skip to content

[npm5] CLI can not add platform from local tgz package #2871

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
dtopuzov opened this issue Jun 2, 2017 · 0 comments
Closed

[npm5] CLI can not add platform from local tgz package #2871

dtopuzov opened this issue Jun 2, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@dtopuzov
Copy link
Contributor

dtopuzov commented Jun 2, 2017

If you run on machine with npm 5 CLI can not add platform from local tgz package.

Steps to reproduce:

npm i -g nativescript@next
tns platform add android --path TestApp --frameworkPath tns-android.tgz

Result:

Support for Node.js 8.0.0 is not verified. This CLI might not install or run properly.

Copying template files...
Installing  /Users/topuzov/Git/nativescript-cli-tests/sut/tns-android.tgz
  ◞ Installing added 1 package in 1.165s
ENOENT: no such file or directory, open '/Users/topuzov/Git/nativescript-cli-tests/TestApp/node_modules/Users/topuzov/Git/nativescript-cli-tests/sut/tns-android.tgz/package.json'

This issues is critical for enabling CI tests with npm5.

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

3 participants