app fails to load after running `npm run dev` from fresh project
See original GitHub issueVerify canary release
- I verified that the issue exists in the latest Next.js canary release
Provide environment information
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64
Binaries:
Node: 16.17.0
npm: 8.15.0
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.3.0
eslint-config-next: 12.3.0
react: 18.2.0
react-dom: 18.2.0
What browser are you using? (if relevant)
N/A but it’s Chrome 105.0.5195.102
How are you deploying your application? (if relevant)
No response
Describe the Bug
Getting an error immediately after bootstrapping a fresh project and trying to run it.
Expected Behavior
Application runs and starts up on the default application screen
Link to reproduction
No tools seem to replicate this
To Reproduce
using NPM
node v16.17.0 | npm v8.15.0
npx create-next-app@latest test-project --typescript
or npx create-next-app@canary test-project --typescript
cd test-project
npm run dev
> next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
error - ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!./styles/globals.css
Error: Cannot find module 'caniuse-lite/data/features/css-unicode-bidi'```
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:6
Top Results From Across the Web
npm run dev fails in fresh laravel project - Stack Overflow
NPM run dev fails in a new laravel project. Its says its has problems in my resources\app.js but this file is empty :|...
Read more >npm run dev error - fresh install - Laracasts
Hi everyone, I'm running a completely fresh install of laravel 5.4.33, have changed no configs or anything (everything default), and the only commands...
Read more >npm-install - npm Docs
To install all modules listed in both dependencies and devDependencies when NODE_ENV environment variable is set to production , you can use --production=false ......
Read more >Deployment | Create React App
npm run build creates a build directory with a production build of your ... This is because when there is a fresh page...
Read more >How To Fix “Laravel Mix NPM run dev error” - YouTube
This video will help you to solve the annoying “Laravel Mix NPM run dev error ” that you probably have seen before when...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Because package
caniuse-lite
1.0.30001394 delete thecss-unicode-bidi.js
fileTemporary solution: add
"caniuse-lite": "1.0.30001393"
to thepackage.json
and runnpm update
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.