Following these instructions: https://nuxt.com/docs/4.x/getting-started/installation
When using the ui template, npm package manager, and installing the modules @vueuse/nuxt, @nuxtjs/seo, and @nuxtjs/tailwindcss I get a module install error ■ Error: spawn pnpm ENOENT
After installing corepack, enabling pnpm, running the creation successfully, then removing the project, disabling pnpm, and running the creation a second time, it works successfully.
Strangely it seems to find/use pnpm even after I corepack disable pnpm and even do a corepack cache clear. I cannot reproduce the error because it keeps using pnpm...🤷
This is the console output:
Which template would you like to use?
│ ui – App using Nuxt UI
│
◇ Creating project in website
│
◇ Downloaded ui template
│
◇ Which package manager would you like to use?
│ npm
│
◇ Initialize git repository?
│ No
│
◇ Dependencies installed
│
◇ Would you like to browse and install modules?
│ Yes
│
◇ Modules loaded
│
│
│
◇ Search and select modules:
│ 3 items selected
│
● Resolved @vueuse/nuxt, @nuxtjs/tailwindcss, @nuxtjs/seo, adding modules...
│
● Installing @vueuse/nuxt@14.3.0, @nuxtjs/tailwindcss@6.14.0, @nuxtjs/seo@5.3.0 as dependencies
│
■ Error: spawn pnpm ENOENT
│
◇ Install failed for @vueuse/nuxt@14.3.0, @nuxtjs/tailwindcss@6.14.0, @nuxtjs/seo@5.3.0. Do you want to continue adding the modules to nuxt.config?
│ Yes
│
● Adding @vueuse/nuxt to the modules
│
● Adding @nuxtjs/tailwindcss to the modules
│
● Adding @nuxtjs/seo to the modules
file:///home/nathan/code/presently/node_modules/@nuxt/kit/dist/index.mjs:701
throw new TypeError(`Could not load \`${nuxtModule}\`. Is it installed?`);
Following these instructions: https://nuxt.com/docs/4.x/getting-started/installation
When using the
uitemplate, npm package manager, and installing the modules@vueuse/nuxt,@nuxtjs/seo, and@nuxtjs/tailwindcssI get a module install error■ Error: spawn pnpm ENOENTAfter installing corepack, enabling pnpm, running the creation successfully, then removing the project, disabling pnpm, and running the creation a second time, it works successfully.
Strangely it seems to find/use pnpm even after I
corepack disable pnpmand even do acorepack cache clear. I cannot reproduce the error because it keeps using pnpm...🤷This is the console output: