You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to require an npm package or any other local .js file, an error appears saying it was not found.
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'module-name-or-path'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at [eval]:1:13
at Script.runInThisContext (vm.js:96:20)
at Object.runInThisContext (vm.js:303:38)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at evalScript (internal/bootstrap/node.js:576:27)
It would be a very useful feature to have.
The text was updated successfully, but these errors were encountered:
When trying to require an npm package or any other local .js file, an error appears saying it was not found.
It would be a very useful feature to have.
The text was updated successfully, but these errors were encountered: