Forum

visual studio code,...
 
Notifications
Clear all

visual studio code, node.s, Could not read source map for

   RSS

0
Topic starter

full error: Could not read source map for file:////node_modules/googleapis/build/src/apis/websecurityscanner/v1.js: ENOENT: no such file or directory, open 'd:mjaorbot_v3SERVICESYouTubenode_modulesgoogleapisbuildsrcapiswebsecurityscannerv1.js.map'

1 Answer
0
Topic starter

1. edit launch.json
2. add ”sourceMaps”: false
3. example:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "skipFiles": [
                "/**"
            ],
            "program": "${workspaceFolder}\YoutubeService.js",
            "sourceMaps": false
        }
    ]
}

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: