Skip to content

pnpm create nuxt should install all dependencies in created project directory #937

@outslept

Description

@outslept

When running pnpm create nuxt from a workspace root, module dependencies (e.g., better-sqlite3 for @nuxt/content) are installed to workspace root instead of the project directory, causing pnpm error and requiring manual cd + install.

Steps to reproduce:

  1. Run pnpm create nuxt from workspace root
  2. Select @nuxt/content module
  3. When prompted to install better-sqlite3, it installs to workspace root
  4. Error: "Running this command will add the dependency to the workspace root, ..."

Expected: All dependencies should install in the created project directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions