Skip to content

Error when initializing nuxt app with arguments #1179

@aleksandargosevski

Description

@aleksandargosevski

Hi,

I have a boilerplate that uses npm create nuxt@latest to initialize a Nuxt app, after which we add a set of components and other files. Our initialization script has recently stopped working.

Command:

npm create nuxt@latest -- test --template 'minimal' --gitInit --packageManager npm --modules 'eslint' --install false

Output:

    .d$b.
       i$$A$$L  .d$b
     .$$F` `$$L.$$A$$.
    j$$'    `4$$:` `$$.
   j$$'     .4$:    `$$.
  j$$`     .$$:      `4$L
 :$$:____.d$$:  _____.:$$:
 `4$$$$$$$$P` .i$$$$$$$$P`

┌  Welcome to Nuxt!
│
◇  Creating project in test
│
◇  Downloaded minimal template
│
●  Skipping install dependencies step.

 ERROR  Cannot find matching package.json in undefined or parent directories 

Is the command incorrect, or is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions