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

260
Views
Unexpected token when using npm run dev on NextJS app

The next app when I run the npm run dev command is giving an error as follows:

$→��m��mo�L�D��;�%g�?w��ŷ↓�▬��ovH0��a�5��*�ؒ��l͛�S�iy☺�r�O7����%L]��%��∟�hk
 ^

SyntaxError: Invalid or unexpected token
    at wrapSafe (internal/modules/cjs/loader.js:988:16)
    at Module._compile (internal/modules/cjs/loader.js:1036:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at Object.<anonymous> (D:\Projects\next learn\next-whatsapp\whatsapp-clone\node_modules\caniuse-lite\dist\unpacker\agents.js:5:20)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)

I don't know why its happening. I have checked all of my code and I can't really find any problem. Also I tried running npm i and then npm run dev but that didn't work as well. The app was working fine before but after night I stopped the localhost and closed the PC and now after opening it back again this problem is occurring.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Please try removing the node_modules folder and re-running npm install. Somehow your node_modules folder is likely to have gotten corrupted. As Bravo notes, you should also check your hard drive's integrity as it could possibly have been caused by a hardware issue.

about 4 years ago · Juan Pablo Isaza Report
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!