调试节点应用程序时出现内部模块错误
Internal modules error on debugging node application
我正在尝试调试节点应用程序,我正在使用 IntelliJ IDEA 14.0.5 和 nodejs 6.10.2。应用程序配置似乎没问题,实际上应用程序是 运行 但是当我尝试调试应用程序时我遇到了这个错误:
"C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.0.5\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" --debug-brk=60858 --nolazy server.js
Debugger listening on [::]:60858
{ Error: ENOENT: no such file or directory, open 'c:\My\Project\Working\Folder\myapp\internal\streams\lazy_transform.js'
at Error (native)
at Object.fs.openSync (fs.js:641:18)
at eval (eval at <anonymous> (internal/streams/lazy_transform.js:1:1), <anonymous>:49:17)
at eval (eval at <anonymous> (internal/streams/lazy_transform.js:1:1), <anonymous>:73:5)
at internal/streams/lazy_transform.js:1:1
at ContextifyScript.Script.runInThisContext (vm.js:25:33)
at runInThisContext (bootstrap_node.js:404:19)
at NativeModule.compile (bootstrap_node.js:491:18)
at NativeModule.require (bootstrap_node.js:437:18)
at crypto.js:24:23
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'c:\\My\Project\Working\Folder\myapp\internal\streams\lazy_transform.js' }
和其他内部结构:child_process.js、socket_list.js 和 cluster.js
可能与错误的调试器版本有关?
缺少某些配置?
谢谢你的建议,
安德里亚
Node 6.* 自 Idea 2016.2 起仅支持调试。自 Idea 14 发布以来,V8 调试协议发生了巨大变化。
您必须升级 Idea 或降级 Node.js... 到 v 4.* 可能是,甚至降级到 0.10
我正在尝试调试节点应用程序,我正在使用 IntelliJ IDEA 14.0.5 和 nodejs 6.10.2。应用程序配置似乎没问题,实际上应用程序是 运行 但是当我尝试调试应用程序时我遇到了这个错误:
"C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.0.5\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" --debug-brk=60858 --nolazy server.js
Debugger listening on [::]:60858
{ Error: ENOENT: no such file or directory, open 'c:\My\Project\Working\Folder\myapp\internal\streams\lazy_transform.js'
at Error (native)
at Object.fs.openSync (fs.js:641:18)
at eval (eval at <anonymous> (internal/streams/lazy_transform.js:1:1), <anonymous>:49:17)
at eval (eval at <anonymous> (internal/streams/lazy_transform.js:1:1), <anonymous>:73:5)
at internal/streams/lazy_transform.js:1:1
at ContextifyScript.Script.runInThisContext (vm.js:25:33)
at runInThisContext (bootstrap_node.js:404:19)
at NativeModule.compile (bootstrap_node.js:491:18)
at NativeModule.require (bootstrap_node.js:437:18)
at crypto.js:24:23
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'c:\\My\Project\Working\Folder\myapp\internal\streams\lazy_transform.js' }
和其他内部结构:child_process.js、socket_list.js 和 cluster.js
可能与错误的调试器版本有关?
缺少某些配置?
谢谢你的建议,
安德里亚
Node 6.* 自 Idea 2016.2 起仅支持调试。自 Idea 14 发布以来,V8 调试协议发生了巨大变化。 您必须升级 Idea 或降级 Node.js... 到 v 4.* 可能是,甚至降级到 0.10