Error occured - Error during rendering report: Unsupported module in scripts: http. To enable require on particular module, you need to update the configuration as {"scripts": { "allowedModules": ["http"] } } ... Alternatively you can also set "*" to allowedModules to enable everything
Stak - 错误:脚本中不支持的模块:http。要在特定模块上启用 require,您需要将配置更新为 {"scripts": { "allowedModules": ["http"] } } ... 或者您也可以将 "*" 设置为 allowedModules 以启用 _require ( /Users/ravikirankk/Projects/I-Team/srdm/jsreport/node_modules/jsreport-scripts/lib/scriptEvalChild.js:44:11) at evalmachine.:2:12 at ContextifyScript.Script.runInContext (vm.js:32 :29) 在 ContextifyScript.Script.runInNewContext (vm.js:38:15) 在 Object.runInNewContext (vm.js:91:38) 在 module.exports (/Users/ravikirankk/Projects/I-Team/srdm/jsreport /node_modules/jsreport-scripts/lib/scriptEvalChild.js:123:6) 在进程中。(/Users/ravikirankk/Projects/I-Team/srdm/jsreport/node_modules/script-manager/lib/worker-processes.js: