calamari romana编译安装make build-real出错

使用make build-real安装roman时报错如下,求助

node index.js
path.js:7
throw new TypeError('Path must be a string. Received ' + inspect(path));
^

TypeError: Path must be a string. Received { url: 'https://raw.github.com/imagemin/jpegtran-bin/v0.2.8/vendor/linux/x64/jpegtran',
name: 'jpegtran',
os: 'linux',
arch: 'x64' }
at assertPath (path.js:7:11)
at Object.basename (path.js:1371:5)
at /root/romana/manage/node_modules/download/index.js:35:43
at each (/root/romana/manage/node_modules/each-async/each-async.js:63:4)
at module.exports (/root/romana/manage/node_modules/download/index.js:33:5)
at /root/romana/manage/node_modules/bin-wrapper/index.js:108:20
at /root/romana/manage/node_modules/bin-wrapper/index.js:141:24
at /root/romana/manage/node_modules/bin-check/index.js:30:20
at /root/romana/manage/node_modules/executable/index.js:39:20
at FSReqWrap.oncomplete (fs.js:123:15)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@github:pipobscure/fsevents#7dcdf9fa3f8956610fd6f69f72c67bace2de7138 (node_modules/chokidar/node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Error while executing:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: /usr/bin/git ls-remote -h -t ssh://git@github.com/pipobscure/fsevents.git
npm WARN optional SKIPPING OPTIONAL DEPENDENCY:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ssh: Could not resolve hostname github.com: Name or service not known
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fatal: Could not read from remote repository.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Please make sure you have the correct access rights
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: and the repository exists.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: exited with error code: 128
npm WARN manage@0.0.0 No repository field.
npm WARN manage@0.0.0 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! jpegtran-bin@0.2.8 postinstall: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jpegtran-bin@0.2.8 postinstall 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! /root/.npm/_logs/2018-03-10T00_50_02_896Z-debug.log
make[1]: *** [build-stamp] Error 1
make[1]: Leaving directory `/root/romana/manage'
make: *** [build-ui] Error 2
2018-03-10 01:00 添加评论 分享
已邀请:

要回复问题请先登录注册

退出全屏模式 全屏模式 回复