Power Bi 开发人员工具安装 - 语法错误
Power Bi Developer Tools Install - Syntax Error
安装 Power Bi 开发者工具时出现以下错误:
let exec = require('child_process').execSync;
^^^
SyntaxError: Unexpected strict mode reserved word
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
出现错误消息的时间我运行正在使用 NodeJS V4.4.7,但我也尝试过 V5.5.0 版本和最新版本。我们让它在另一台机器上工作,但似乎无法 运行 我的工具。我是 运行宁作为管理员。
我遵循的设置步骤来自 Power BI,here
你用node -v
确认节点版本了吗?
我刚刚安装了 powerbi-visuals-tools
。节点版本是 v0.12.x,我得到的错误与你的完全相同。
升级node到v6.9.4后问题解决。请确保您 update node using the same method as before.
安装 Power Bi 开发者工具时出现以下错误:
let exec = require('child_process').execSync;
^^^
SyntaxError: Unexpected strict mode reserved word
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
出现错误消息的时间我运行正在使用 NodeJS V4.4.7,但我也尝试过 V5.5.0 版本和最新版本。我们让它在另一台机器上工作,但似乎无法 运行 我的工具。我是 运行宁作为管理员。
我遵循的设置步骤来自 Power BI,here
你用node -v
确认节点版本了吗?
我刚刚安装了 powerbi-visuals-tools
。节点版本是 v0.12.x,我得到的错误与你的完全相同。
升级node到v6.9.4后问题解决。请确保您 update node using the same method as before.