意味着安装失败

时间:2015-04-12 16:32:53

标签: npm mean-stack

ME $意味着初始化应用

?你会给你的平均应用命名?应用

/usr/local/lib/node_modules/mean-cli/node_modules/inquirer/node_modules/rx/dist/rx.js:579     扔掉;           ^ TypeError:undefined不是函数     at Object.exports.checkNpmPermission(/usr/local/lib/node_modules/mean-cli/lib/utils.js:70:3)     在Array.checkPermissions(/usr/local/lib/node_modules/mean-cli/lib/install.js:36:11)     at handleItem(/usr/local/lib/node_modules/mean-cli/node_modules/async-series/index.js:14:13)     在系列(/usr/local/lib/node_modules/mean-cli/node_modules/async-series/index.js:30:3)     at Object.exports.init(/usr/local/lib/node_modules/mean-cli/lib/install.js:14:3)     at exports.init(/usr/local/lib/node_modules/mean-cli/lib/cli.js:836:11)     在PromptUI.completed(/usr/local/lib/node_modules/mean-cli/lib/wizard.js:43:5)     在PromptUI.onCompletion(/usr/local/lib/node_modules/mean-cli/node_modules/inquirer/lib/ui/prompt.js:69:10)     at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.completed(/usr/local/lib/node_modules/mean-cli/node_modules/inquirer/node_modules/rx/dist/rx.js:1977:12)     at AnonymousObserver.Rx.internals.AbstractObserver.AbstractObserver.onCompleted(/usr/local/lib/node_modules/mean-cli/node_modules/inquirer/node_modules/rx/dist/rx.js:1914:14)

ME $

我不知道如何解决这个问题。


进一步详情

OS:优胜美 先决条件安装:$ npm install -g mean-cli

1 个答案:

答案 0 :(得分:0)

似乎你在" npm"中遇到了一些许可问题。你使用" npm install -g mean-cli"安装平均值。 ?。