在git bash

时间:2015-11-14 18:11:20

标签: node.js npm bower git-bash

$ bower init --config.interactive bower error无法读取属性' substring'未定义的

  

堆栈跟踪:TypeError:无法读取属性' substring'未定义的       在Interface.rl._getCursorPos(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ inquirer \ node_modules \ readline2 \ index.js:51:51)       在ScreenManager.render(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ inquirer \ lib \ utils \ screen-manager.js:19:27)       在Prompt.render(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ inquirer \ lib \ prompts \ input.js:75:15)       在Prompt._run(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ inquirer \ lib \ prompts \ input.js:49:8)       在Prompt.run(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ inquirer \ lib \ prompts \ base.js:57:8)       在对象。 (C:\用户\ dolap_000 \应用程序数据\漫游\ NPM \ node_modules \亭子\ node_modules \询问者\ lib中\ UI \ prompt.js:84:12)       at module.exports(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ inquirer \ node_modules \ run-async \ index.js:15:21)       在AnonymousObservable .__ subscribe(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ inquirer \ lib \ utils \ utils.js:16:7)       在AnonymousObservable.tryCatcher(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ inquirer \ node_modules \ rx-lite \ rx.lite.js:63:31)       at setDisposable(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ inquirer \ node_modules \ rx-lite \ rx.lite.js:5741:44)

     

控制台跟踪:错误       在StandardRenderer.error(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ lib \ renderers \ StandardRenderer.js:82:37)       在记录器。 (C:\用户\ dolap_000 \应用程序数据\漫游\ NPM \ node_modules \亭子\ BIN \亭子:110:22)       在emitOne(events.js:77:13)       在Logger.emit(events.js:169:7)       在Logger.emit(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ bower-logger \ lib \ Logger.js:29:39)       在C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ lib \ commands \ index.js:48:20       在_rejected(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ q \ q.js:844:24)       在C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ q \ q.js:870:30       在Promise.when(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ q \ q.js:1122:31)       在Promise.promise.promiseDispatch(C:\ Users \ dolap_000 \ AppData \ Roaming \ npm \ node_modules \ bower \ node_modules \ q \ q.js:788:41)

系统信息: 凉亭版:1.6.5 节点版本:5.0.0 操作系统:Windows_NT 10.0.10586 x64

0 个答案:

没有答案