Generating Nuxt.js project in nuxt-test
? Project name: nuxt-test
? Programming language: JavaScript
? Package manager: Npm
? UI framework: Vuetify.js
? Nuxt.js modules: Progressive Web App (PWA)
? Linting tools: Prettier
? Testing framework: None
? Rendering mode: Universal (SSR / SSG)
? Deployment target: Static (Static/Jamstack hosting)
? Development tools: jsconfig.json (Recommended for VS Code if you're not using typescript)
? Continuous integration: None
? Version control system: None
What is Expected?
After the command npm run dev, the project should be working.
What is actually happening?
`ℹ Preparing project for development 23:59:14
ℹ Initial build may take a while 23:59:14
ℹ Discovered Components: .nuxt/components/readme.md 23:59:14
✔ Builder initialized 23:59:14
✔ Nuxt files generated 23:59:14
node_modules/autoprefixer/data/prefixes.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
at Function.resolve (node:internal/modules/cjs/helpers:108:19)
at _resolve (node_modules/jiti/dist/jiti.js:1:243297)
at jiti (node_modules/jiti/dist/jiti.js:1:245423)
at node_modules/autoprefixer/data/prefixes.js:663:12
at jiti (node_modules/jiti/dist/jiti.js:1:247497)
at node_modules/autoprefixer/lib/autoprefixer.js:15:12
at jiti (node_modules/jiti/dist/jiti.js:1:247497)
at node_modules/postcss-preset-env/index.js:5:36
at Resolver.jiti [as _require] (node_modules/jiti/dist/jiti.js:1:247497)`
Version
create-nuxt-app v4.0.0 NPM: 8.15.0 Node: v16.17.0 (LTS) Ubuntu 22.04.1 LTS (WSL2)
Reference: #962
Steps to reproduce
npm init nuxt-app nuxt-test (or manually -> https://nuxtjs.org/docs/get-started/installation#manual-installation)
Generating Nuxt.js project in nuxt-test ? Project name: nuxt-test ? Programming language: JavaScript ? Package manager: Npm ? UI framework: Vuetify.js ? Nuxt.js modules: Progressive Web App (PWA) ? Linting tools: Prettier ? Testing framework: None ? Rendering mode: Universal (SSR / SSG) ? Deployment target: Static (Static/Jamstack hosting) ? Development tools: jsconfig.json (Recommended for VS Code if you're not using typescript) ? Continuous integration: None ? Version control system: None
What is Expected?
After the command
npm run dev
, the project should be working.What is actually happening?
`ℹ Preparing project for development 23:59:14 ℹ Initial build may take a while 23:59:14 ℹ Discovered Components: .nuxt/components/readme.md 23:59:14 ✔ Builder initialized 23:59:14 ✔ Nuxt files generated 23:59:14
ERROR Cannot find module 'caniuse-lite/data/features/css-unicode-bidi' 23:59:15 Require stack:
/home/myuser/projects/nuxt-test/node_modules/autoprefixer/data/prefixes.js
Require stack: