vlcn-io / vite-starter

scaffold for a vitejs based vlcn project
32 stars 6 forks source link

pnpm create command fails #21

Closed nathan-isaac closed 10 months ago

nathan-isaac commented 10 months ago

How to reproduce:

docker run --rm --pull always -it node:18 /bin/bash 

npm install -g pnpm
mkdir app && cd app
pnpm create @vlcn.io@latest your-app-name

Error:

ENOENT: no such file or directory, open '/root/.local/share/pnpm/store/v3/tmp/dlx-74/node_modules/create/package.json'

Note: It does work with npm create @vlcn.io@latest your-app-name.

nathan-isaac commented 10 months ago

This is my bad. It looks like I need to use a different command.

pnpm create @vlcn.io your-app-name

https://www.npmjs.com/package/@vlcn.io/create

I'll see if I can submit a pull request to make this know in the readme.

tantaman commented 10 months ago

thanks. Yeah, I think npm and pnpm have slight variation on create?

nathan-isaac commented 10 months ago

Yeah, not sure why pnpm doesn't like the @latest suffix.