【问题标题】:Error installing elementor安装 elementor 时出错
【发布时间】:2016-07-14 22:31:26
【问题描述】:

我正在尝试安装 elementor(npm install -g elementor as admin),但我收到了一系列错误,例如:

gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Yianna\AppData\Roaming\npm\node_modules\elementor\node_modules\protractor\node_modules\selenium-webdriver\node_modules\ws\node_modules\bufferutil
gyp ERR! node -v v4.4.0
gyp ERR! node-gyp -v v3.3.0
gyp ERR! not ok
npm WARN optional dep failed, continuing utf-8-validate@1.2.1
npm WARN optional dep failed, continuing bufferutil@1.2.1

我在尝试安装时正在运行 webmanager,并且我尝试将 node-gyp 更新到最新版本。 什么可能导致这种情况?

【问题讨论】:

标签: node.js protractor npm-install elementor


【解决方案1】:

我在this 帖子中找到了解决方案。
我的机器似乎缺少 Windows sdk。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-12
    • 2013-10-05
    • 2013-08-15
    • 2013-11-13
    • 2017-10-02
    相关资源
    最近更新 更多