[英]MySQL giving "read ECONNRESET" error after idle time on node.js server
[英]Why after update VSCode giving this error? Could not read source map for … (Node.js)
在更新Visual Studio Code之前,我的程序正在运行。 更新后,为什么会出现这个错误?
Could not read source map for file:///c:/Users/s.aytan/Desktop/node/new/Dashboard2/node_modules/fecha/lib/fecha.umd.js: ENOENT: no such file or directory, open 'c:\Users\s.aytan\Desktop\node\new\Dashboard2\node_modules\fecha\lib\fecha.umd.js.map'
尝试将此属性添加到.vscode\launch.json
文件:
"resolveSourceMapLocations": [
"${workspaceFolder}/**",
"!**/node_modules/**"
]
根据这个问题,这应该在下一个版本中配置为默认值。
尝试安装旧版本的 VSCode,在这里解决同样的问题。
您需要在.vscode\launch.json
配置中切换启动类型:
"type": "node",
至
"type": "pwa-node",
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.