Skip to content

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

@dtopuzov

Description

@dtopuzov

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions