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

223
Views
Vs code 'c:\Users\Baej\Desktop\2+2=22\Strony\js\script.js'

recently I tried to run js code in my vs code, but I hit on problem Error: Cannot find module 'c:\Users\Baej\Desktop\2+2=22\Strony\js\script.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } and couldnt run it. I tried reinstalling vs code and node.js couple times but it didn't work. Now I am not able to run any code in vs code. Can somebody help me?

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

0

You need to send your JavaScript code. Seems like you tried to run some fileSystem module command and you got the path wrong because you probably used ./ instead of ${__dirname} which depends on where you are running your JavaScript file.

about 4 years ago · Juan Pablo Isaza Report

0

I deleted all node cache files which were in "C:\Users\User\AppData\Local\npm-cache", then I reinstalled VS code and node.js, also removed all VS extensions which were in "C:\Users\user.vscode\extensions", then I installed them all again in vs code and it finally helped. Im closing

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!