question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[docs]: pnpm create execution problem

See original GitHub issue

Describe the bug

use

pnpm create vite my-vue-app -- --template vue

result

ERROR   ERROR  Unknown option: 'template'
Did you mean 'test-pattern'? Use "--config.unknown=value" to force an unknown option.

Reproduction

https://vitejs.cn/guide/#scaffolding-your-first-vite-project

System Info

System:
    OS: Windows 10 10.0.22598
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 4.85 GB / 15.75 GB
  Binaries:
    Node: 16.9.0 - F:\nodejs\node.EXE
    Yarn: 1.22.18 - F:\nodejs\yarn.CMD
    npm: 7.21.1 - F:\nodejs\npm.CMD
  Browsers:
    Edge: 44.22598.200.0
    Internet Explorer: 11.0.22598.1

Used Package Manager

pnpm

Logs

No response

Validations

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:24 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
tony19commented, May 9, 2022

Also in PowerShell, you can just use --- instead of --. No quotes needed.

pnpm create vite my-vue-app --- --template vue
1reaction
sapphi-redcommented, May 8, 2022

I think you need to run with " for windows + powershell. It works for me.

pnpm create vite my-vue-app "--" "--template" vue

CMD works without " though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pnpm install
pnpm install is used to install all dependencies for a project. In a CI environment, installation fails if a lockfile is present but...
Read more >
How we configured pnpm and Turborepo for our monorepo
We decided to move to a monorepo to solve these issues. We chose pnpm as our package manager and Turborepo as our build...
Read more >
Setup a Monorepo with PNPM workspaces and speed it up ...
To get started, let's make sure you have PNPM installed. The official docs have an installation page with detailed instructions.
Read more >
npm, pnpm, and Yarn | WebStorm Documentation - JetBrains
Create an NPM run/debug configuration · From the main menu, select Run | Edit Configurations. · In the Edit Configurations dialog that opens, ......
Read more >
Getting Started - WebdriverIO
Welcome to the WebdriverIO documentation. It will help you to get started fast. If you run into problems, you can find help and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found