节点:错误选项:--experimental-report

时间:2019-05-30 21:38:09

标签: node.js

https://nodejs.org/api/report.html#report_usage

https://nodesource.com/blog/experimental-features-in-node.js/

假设在命令行上运行“ node --experimental-report”以启用process.report API ...从console.cloud.google.com打开Goog​​le Cloud Shell,该控制台已预安装NodeJS版本v10.14.2 ...

node --experimental-report --report-uncaught-exception --report-on-signal --report-on-fatalerror

node --experimental-report

...

只是期望一个正常的REPL环境,其中定义了process.report,相反,它仍然未定义,我得到:

节点:错误的选择:--experimental-report

节点:错误的选择:--report-uncaught-exception

节点:错误的选择:--report-on-signal

节点:错误的选择:--report-on-fatalerror

0 个答案:

没有答案