Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run a project correctly #976

Open
manascimento opened this issue Sep 12, 2022 · 0 comments
Open

Can't run a project correctly #976

manascimento opened this issue Sep 12, 2022 · 0 comments
Labels

Comments

@manascimento
Copy link

manascimento commented Sep 12, 2022

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:

    • 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)`

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant