Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

723
Views
NextJs Error: Cannot find module 'nanoid/non-secure'

im new to nextjs and my project was running fine untill i dont know what happened, just getting these errors:

./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[2]!./styles/Navbar.css
Error: Cannot find module 'nanoid/non-secure'
Require stack:
- C:\WEBd\watchthisnext\node_modules\postcss\lib\input.js
- C:\WEBd\watchthisnext\node_modules\postcss\lib\map-generator.js
- C:\WEBd\watchthisnext\node_modules\postcss\lib\lazy-result.js
- C:\WEBd\watchthisnext\node_modules\postcss\lib\postcss.js
- C:\WEBd\watchthisnext\node_modules\next\dist\build\webpack\config\blocks\css\index.js
- C:\WEBd\watchthisnext\node_modules\next\dist\build\webpack\config\index.js
- C:\WEBd\watchthisnext\node_modules\next\dist\build\webpack-config.js
- C:\WEBd\watchthisnext\node_modules\next\dist\server\dev\hot-reloader.js
- C:\WEBd\watchthisnext\node_modules\next\dist\server\dev\next-dev-server.js
- C:\WEBd\watchthisnext\node_modules\next\dist\server\next.js
- C:\WEBd\watchthisnext\node_modules\next\dist\server\lib\start-server.js
- C:\WEBd\watchthisnext\node_modules\next\dist\cli\next-dev.js
- C:\WEBd\watchthisnext\node_modules\next\dist\bin\next

Please help me fix this. I have no clue why this happened.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!