Hi,
yarn create nuxt-app test12366
yarn create v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "mongoui > [email protected]" has incorrect peer dependency "mongodb@~2.0".
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- create-nuxt-app
error Cannot create "/usr/local/bin/create-nuxt-app" due to insufficient permissions.
info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.
This is an issue with your folder permissions in linux, not an issue with Nuxt. See linux.com/training-tutorials/how-manage-file-and-folder-permissions-linux/ for more.
Try creating a new directory like this: mkdir /home/git/nuxt-project, then cd into that directory with cd /home/git/nuxt-project, and run chmod 750 ..
Then run sudo yarn create nuxt-app test123456, and it should work. Let me know if you have issues.
It does not need sudo to work
I'm sorry
I'm forgot to install nuxt-app .. yarn global add nuxt-app
now it's work
yarn create nuxt-app test123456
Thank you
Can you close the issue? Thanks.