huibizhang / vitawind

Install and Setting Tailwindcss automatically for Vite

Home Page:https://vitawind.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attempting to initialize vitawind throws npm error

GeordiD opened this issue · comments

Hello,

Apologies if this is just me being dumb, but I'm having some issues initializing vitawind. I've installed via pnpm and then ran pnpx vitawind and I get this output:

Starting vitailwind initialize... 

Error:npm ERR! could not determine executable to run

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/geordi/.npm/_logs/2022-05-10T13_57_26_426Z-debug-0.log

Here is the log file: 2022-05-10T13_57_26_426Z-debug-0.log

This throws the same error whether I use pnpx or npx, although I have not tried using npm instead of pnpm

Anyone have any ideas on what the issue may be? This seems like a cool project and I'd like to be able to use it.
Thanks in advance!

commented

pnpm init vitawind {project-name} -- {template}
should be replaced with
pnpm create vitawind {project-name} -- {template}

commented

@GeordiD I think this should solve your problem but the website should be updated so people don't encounter problems in the future

Thanks! Appreciate the response. Next time I init a project I'll give it a shot.