node.js - 如何在ubuntu机器上安装ursa
问题描述
我正在尝试在 ubuntu 机器上安装 ursa 但有问题。
我正在运行的节点版本是: - node -v v10.4.1 - node-gyp -v v3.6.2
我无法从错误堆栈中找出错误:
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit
(/usr/local/lib/node_modules/npm/node_modules/node-
gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:237:12)
gyp ERR! System Linux 4.4.0-1060-aws
gyp ERR! command "/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd /home/ubuntu/buze-payments/node_modules/ursa
gyp ERR! node -v v10.4.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN ms-payments@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ursa@0.9.4 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ursa@0.9.4 install script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2018-06-14T21_53_02_279Z-debug.log
知道问题出在哪里吗?
解决方案
推荐阅读
- google-analytics - 如何让 GTM 的内置 YouTube 触发器触发通过 JS 单击功能创建的模态播放的视频
- xslt - 如何将增量 id 连接到现有值
- parceljs - 使用 Parcel 删除 console.logs?
- c++ - 如何在 Wait() C++ 期间同时调用另一个函数
- postgresql - 无法通过 -v 共享 docker 容器数据
- apache - WampServer : 使用 VPN 访问目录
- typescript - TypeError:参数必须是字符串,而不是对象
- python - 保存 tensorflow 编码器、解码器和注意力
- c# - 存储用于 SharePoint 文件下载的凭证 c#
- python - 递归函数返回问题