yarn create nuxt -hyarn create nuxt -h and it gave me the following:yarn create nuxt -h
yarn create v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- create-nuxt
Create a Nuxt app in seconds (create-nuxt v3.22.5)
USAGE create-nuxt [OPTIONS] [DIR]
ARGUMENTS
DIR Project directory
OPTIONS
--cwd=<directory> Specify the working directory
-t, --template Template name
-f, --force Override existing directory
--offline Force offline mode
--preferOffline Prefer offline mode
--no-install Skip installing dependencies
--gitInit Initialize git repository
--shell Start shell after installation in project directory
--packageManager Package manager choice (npm, pnpm, yarn, bun)
-M, --modules Nuxt modules to install (comma separated without spaces)
Done in 1.58s.yarn create nuxt -h
yarn create v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- create-nuxt
Create a Nuxt app in seconds (create-nuxt v3.22.5)
USAGE create-nuxt [OPTIONS] [DIR]
ARGUMENTS
DIR Project directory
OPTIONS
--cwd=<directory> Specify the working directory
-t, --template Template name
-f, --force Override existing directory
--offline Force offline mode
--preferOffline Prefer offline mode
--no-install Skip installing dependencies
--gitInit Initialize git repository
--shell Start shell after installation in project directory
--packageManager Package manager choice (npm, pnpm, yarn, bun)
-M, --modules Nuxt modules to install (comma separated without spaces)
Done in 1.58s.yarn create nuxt . --packageManager yarn --gitInit falseyarn create nuxt . --packageManager yarn --gitInit false to give me:yarn create v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- create-nuxt
(SKIPPING SOME LINES TO SAVE SPACE FOR DISCORD...)
◐ Installing dependencies... nuxi 10:30:56 AM
! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
⠁ (node:48608) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "nuxt > @nuxt/[email protected]" has unmet peer dependency "vite@>=6.0".
warning "nuxt > @nuxt/devtools > [email protected]" has unmet peer dependency "vite@^6.0.0".
warning "nuxt > @nuxt/devtools > [email protected]" has unmet peer dependency "vite@^6.0.0".
warning "nuxt > @nuxt/devtools > @nuxt/[email protected]" has unmet peer dependency "vite@>=6.0".
warning "nuxt > nitropack > [email protected]" has unmet peer dependency "typescript@^5.x".
warning "nuxt > @nuxt/devtools > @vue/devtools-core > [email protected]" has unmet peer dependency "vite@^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0".
warning "nuxt > @nuxt/devtools > vite-plugin-inspect > [email protected]" has unmet peer dependency "vite@^2.9.0 || ^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.1".
warning "nuxt > @nuxt/devtools > vite-plugin-inspect > vite-dev-rpc > [email protected]" has unmet peer dependency "vite@^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0".
[4/4] Building fresh packages...
success Saved lockfile.
$ nuxt prepare
✔ Types generated in .nuxt nuxi 10:31:26 AM
Done in 28.91s.
✔ Installation completed. yarn create v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- create-nuxt
(SKIPPING SOME LINES TO SAVE SPACE FOR DISCORD...)
◐ Installing dependencies... nuxi 10:30:56 AM
! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
⠁ (node:48608) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "nuxt > @nuxt/[email protected]" has unmet peer dependency "vite@>=6.0".
warning "nuxt > @nuxt/devtools > [email protected]" has unmet peer dependency "vite@^6.0.0".
warning "nuxt > @nuxt/devtools > [email protected]" has unmet peer dependency "vite@^6.0.0".
warning "nuxt > @nuxt/devtools > @nuxt/[email protected]" has unmet peer dependency "vite@>=6.0".
warning "nuxt > nitropack > [email protected]" has unmet peer dependency "typescript@^5.x".
warning "nuxt > @nuxt/devtools > @vue/devtools-core > [email protected]" has unmet peer dependency "vite@^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0".
warning "nuxt > @nuxt/devtools > vite-plugin-inspect > [email protected]" has unmet peer dependency "vite@^2.9.0 || ^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.1".
warning "nuxt > @nuxt/devtools > vite-plugin-inspect > vite-dev-rpc > [email protected]" has unmet peer dependency "vite@^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0".
[4/4] Building fresh packages...
success Saved lockfile.
$ nuxt prepare
✔ Types generated in .nuxt nuxi 10:31:26 AM
Done in 28.91s.
✔ Installation completed. ! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447.! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing [email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447.