visual studio code, node.s, Could not read source map for« Wróć do listy pytań

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_v3\SERVICES\YouTube\node_modules\googleapis\build\src\apis\websecurityscanner\v1.js.map'
Wysłane przez mrmucha
Zadane przez 14/07/2020 06:47
0

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
        }
    ]
}
Wysłane przez mrmucha
Odpowiedziane 14/07/2020 06:47