Skip to content

[npm5] CLI can not create projects with custom templates #2870

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 create projects with custom templates #2870

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 create projects with custom template from:

  • Git repo
  • Local folder
  • Local tgz package

Steps to reproduce:

npm i nativescript@next
node_module/.bin/tns create TestApp --template https://github.com/NativeScript/template-hello-world

Result:

Installing  https://github.com/NativeScript/template-hello-world
added 2 packages in 1.4s
cp: no such file or directory: /Users/topuzov/Git/nativescript-cli-tests/TestApp/node_modules/https:/github.com/NativeScript/template-hello-world/*

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