" bnr未被识别为内部命令"同时开发ionic2-cordova app

时间:2017-07-01 13:22:24

标签: android node.js cordova npm ionic2

这是我在尝试构建android时遇到的错误。有人可以帮忙吗?

'bnr' is not recognized as an internal or external command, operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ionic2-taxi-app@0.1.0 dev: `bnr dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic2-taxi-app@0.1.0 dev 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! C:\Users\VARANASI\AppData\Roaming\npm-cache\_logs\2017-07-    01T13_14_22_953Z-debug.log

1 个答案:

答案 0 :(得分:0)

在我正在进行的项目中,有时会出现该错误。通常当某些命令执行失败时,但我不确切知道原因。无论如何,似乎执行npm install再次解决了问题。