npm install jsbin 报错
npm install jsbin gives error
我正在尝试安装 jsbin。
用jsbin来做。
我收到以下错误。
我在 linux.The 命令中执行此操作,我使用的是
sudo npm install -g jsbin
我收到这个错误
npm WARN deprecated nodemailer@2.7.2: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
/usr/local/bin/jsbin -> /usr/local/lib/node_modules/jsbin/bin/jsbin
> jsbin@4.0.3 postinstall /usr/local/lib/node_modules/jsbin
> grunt build
>> Local Npm module "grunt-contrib-uglify" not found. Is it installed?
>> Local Npm module "grunt-contrib-jshint" not found. Is it installed?
>> Local Npm module "grunt-contrib-concat" not found. Is it installed?
Warning: Task "concat" not found. Use --force to continue.
Aborted due to warnings.
npm ERR! code ELIFECYCLE
npm ERR! errno 3
npm ERR! jsbin@4.0.3 postinstall: `grunt build`
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the jsbin@4.0.3 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! /home/numan/.npm/_logs/2017-12-18T12_29_50_208Z-debug.log
我该怎么办?
将 jsbin 存储库克隆到您的计算机。
进入 jsbin
文件夹并执行 npm install
。
还有更多详情https://github.com/jsbin/jsbin/blob/master/docs/running-your-own-jsbin.md#node
我用 npm install -g jsbin 安装它时遇到了同样的问题,但是通过克隆 git 存储库它工作正常。
我正在尝试安装 jsbin。
用jsbin来做。
我收到以下错误。
我在 linux.The 命令中执行此操作,我使用的是
sudo npm install -g jsbin
我收到这个错误
npm WARN deprecated nodemailer@2.7.2: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
/usr/local/bin/jsbin -> /usr/local/lib/node_modules/jsbin/bin/jsbin
> jsbin@4.0.3 postinstall /usr/local/lib/node_modules/jsbin
> grunt build
>> Local Npm module "grunt-contrib-uglify" not found. Is it installed?
>> Local Npm module "grunt-contrib-jshint" not found. Is it installed?
>> Local Npm module "grunt-contrib-concat" not found. Is it installed?
Warning: Task "concat" not found. Use --force to continue.
Aborted due to warnings.
npm ERR! code ELIFECYCLE
npm ERR! errno 3
npm ERR! jsbin@4.0.3 postinstall: `grunt build`
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the jsbin@4.0.3 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! /home/numan/.npm/_logs/2017-12-18T12_29_50_208Z-debug.log
我该怎么办?
将 jsbin 存储库克隆到您的计算机。
进入 jsbin
文件夹并执行 npm install
。
还有更多详情https://github.com/jsbin/jsbin/blob/master/docs/running-your-own-jsbin.md#node
我用 npm install -g jsbin 安装它时遇到了同样的问题,但是通过克隆 git 存储库它工作正常。