nativescript-vue-webpack-template: unable to create project from template

Hi there, I am following your instructions and getting this error (See at top below)

tns create hello-ns-vue --template https://github.com/tralves/nativescript-vue-webpack-template

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

Installing  https://github.com/tralves/nativescript-vue-webpack-template
+ nativescript-vue-webpack@0.1.0
added 7 packages in 3.337s
cp: no such file or directory: /hello-ns-vue/node_modules/https:/github.com/tralves/nativescript-vue-webpack-template/*
# create

┌────────────────────────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Usage                  │ Synopsis                                                                                                                                          │
│ Create from default    │ $ tns create <App Name> [--path <Directory>] [--appid <App ID>]                                                                                   │
│ JavaScript template    │                                                                                                                                                   │
│ Create from default    │ $ tns create <App Name> --template typescript [--path <Directory>] [--appid <App ID>] OR $ tns create <App Name> --tsc [--path <Directory>] [-    │
│ TypeScript template    │ -appid <App ID>] OR $ tns create <App Name> --template tsc [--path <Directory>] [--appid <App ID>]                                                │
│ Create from default    │ $ tns create <App Name> --template angular [--path <Directory>] [--appid <App ID>] OR $ tns create <App Name> --template ng [--path <Directory>]  │
│ Angular template       │ [--appid <App ID>] OR $ tns create <App Name> --ng [--path <Directory>] [--appid <App ID>]                                                        │
│ Copy from existing     │ $ tns create <App Name> [--path <Directory>] [--appid <App ID>]                                                                                   │
│ project                │                                                                                                                                                   │
│ Create from custom     │ $ tns create <App Name> [--path <Directory>] [--appid <App ID>] --template <Template>                                                             │
│ template               │                                                                                                                                                   │
└────────────────────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Creates a new project for native development with NativeScript.

### Options

    * --path - Specifies the directory where you want to create the project, if different from the current directory. The directory must be empty.
    * --appid - Sets the application identifier for your project.
    * --template - Specifies a valid npm package which you want to use to create your project. If --template is not set, the NativeScript CLI creates the project from the default JavaScript hello-world template.
    * --ng - Sets the template for your project to the Angular template.
    * --tsc - Sets the template for your project to the TypeScript template.

### Attributes

    * <App Name> is the name of project. The specified name must meet the requirements of all platforms that you want to target. For more information about the <App Name> requirements, run $ tns help create
    * <App ID> is the application identifier for your project. It must be a domain name in reverse and must meet the requirements of all platforms that you want to target. If not specified, the application identifier is set to org.nativescript.<App name> For more information about the <App ID> requirements, run $ tns help create

did the create syntax change? Would appreciate your help with this. Thanks!

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (2 by maintainers)

Most upvoted comments

Better question is which tns --version are you running? I found this error which was fixed somewhat recently: https://github.com/NativeScript/nativescript-cli/issues/2870