`凉亭安装--config.interactive = FALSE` NPM ERR!退出状态1 [英] `bower install --config.interactive=false` npm ERR! Exit status 1

查看:634
本文介绍了`凉亭安装--config.interactive = FALSE` NPM ERR!退出状态1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装meanjs全栈前preSS,angularjs frameworkf我得到以下错误

  NPM ERR! meanjs@0.3.3安装后:`凉亭安装--config.interactive = FALSE`
NPM ERR!退出状态1
NPM ERR!
NPM ERR!在meanjs@0.3.3后脚本失败。
NPM ERR!这是最有可能与meanjs包的问题,
NPM ERR!与故宫本身。
NPM ERR!告诉笔者,这种失败在系统上:
NPM ERR!凉亭安装--config.interactive = FALSE
NPM ERR!您可以通过获得他们的信息:
NPM ERR! NPM所有者LS meanjs
NPM ERR!上面还有可能额外日志输出。
NPM ERR! Linux系统3.13.0-36泛型
NPM ERR!命令节点的/ usr / bin中/故宫安装
NPM ERR! CWD /家庭/ Ubuntu的/ pickingotest / pickingo
NPM ERR!节点-v v0.10.35
NPM ERR! NPM -v 1.3.26
NPM ERR! code ELIFECYCLE
NPM ERR!
NPM ERR!其他记录详细信息可以发现:
NPM ERR! /home/ubuntu/pickingotest/pickingo/npm-debug.log
NPM ERR!不正常code 0

我的package.json包含以下

 脚本:{
    开始:咕噜
    测试:咕噜测试,
    安装后:亭子安装--config.interactive =假
},


解决方案

我碰到了一个全新的Ubuntu的服务器上的同样的问题。该错误消息是真的误导,我发现,问题出在内部的NodeJS preTER。

我然后跑:

 命令和apt-get安装的NodeJS遗

和说:哟meanjs之后的工作就像一个魅力。

希望它能帮助

I am installing meanjs full stack express, angularjs frameworkf and I get following error

npm ERR! meanjs@0.3.3 postinstall: `bower install --config.interactive=false`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the meanjs@0.3.3 postinstall script.
npm ERR! This is most likely a problem with the meanjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bower install --config.interactive=false
npm ERR! You can get their info via:
npm ERR!     npm owner ls meanjs
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-36-generic
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /home/ubuntu/pickingotest/pickingo
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.3.26
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/ubuntu/pickingotest/pickingo/npm-debug.log
npm ERR! not ok code 0

My package.json contains following

"scripts": {
    "start": "grunt",
    "test": "grunt test",
    "postinstall": "bower install --config.interactive=false"
},

解决方案

I ran into the same problem on a brand new ubuntu server. The error message was really misleading and I found that the problem was with the nodejs interpreter.

I then ran:

sudo apt-get install nodejs-legacy

And after that "yo meanjs" worked like a charm.

Hope it helps

这篇关于`凉亭安装--config.interactive = FALSE` NPM ERR!退出状态1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆