[docs]: pnpm create execution problem
See original GitHub issueDescribe 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
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it’s a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Issue Analytics
- State:
- Created a year ago
- Comments:24 (9 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also in PowerShell, you can just use
---
instead of--
. No quotes needed.I think you need to run with
"
for windows + powershell. It works for me.CMD works without
"
though.