-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npx vitepress init does not install the vitepress dependency in package.json #2873
Labels
Comments
Currently, this is by design. The docs state: "After installation, start the wizard by running: ...". We can do that probably though. I'll have to check why it was not added earlier 👀 |
This tripped me up too, as many other |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Running
npx vitepress init
and following the default prompts leaves you with a package.json with the vitepress scripts, but no dependency on vitepress itself, so the scripts don't run.I looked through closed issues and don't see any indication this is by design.
Reproduction
mkdir vp1 cd vp1 npx vitepress init
Take defaults on every prompt. Result:
Expected behavior
The vitepress dependency would have been installed.
System Info
The text was updated successfully, but these errors were encountered: