Error: Cannot find module '"/Applications/Visual' when launching `pwa-node` with `npm`
See original GitHub issueVersion: 1.46.1
Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
Date: 2020-06-17T21:17:14.222Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.5.0
When I try to debug a project such as this absolute minimal example I cannot launch the Launch via NPM
configuration.
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '"/Applications/Visual'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at Module._preloadModules (internal/modules/cjs/loader.js:901:12)
at preloadModules (internal/bootstrap/node.js:602:7)
at startup (internal/bootstrap/node.js:273:9)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
irrespective of using debug.javascript.usePreview
on
or off
. (see example repo)
I have cleared my cache in $HOME/Library/Application Support/Code
and disabled ALL extensions, all to no avail.
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (9 by maintainers)
Top Results From Across the Web
Cannot find module '"/Applications/Visual' when running ...
Everything was working fine over the weekend but at work, I'm confronted with the following error while running my debug config. internal/ ...
Read more >MODULE_NOT_FOUND during launch process in Visual ...
Hi, I am using Visual Studio Code and I created my launch.json ... However, when I click “start debugging”, VSC says “cannot find...
Read more >Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
Read more >Cannot find module 'js-yaml' when running npm start-node.js
Coding example for the question Error: Cannot find module 'js-yaml' when running npm start-node.js.
Read more >Cannot find module '"/Applications/Visual' when running ...
Cannot find module '"/Applications/Visual' when running launch.json config. Answer a question I'm developing on OSX and Windows.
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 FreeTop 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
Top GitHub Comments
I had the same problem and restarting VSCode fixed it… 🤔
Reinstalled NVM/node and npm and the issue disappeared.