无法在Ember CLI应用程序中运行npm install?

我正在一台新的笔记本电脑上设置一个Ember应用程序。 我通过brew安装了节点npm,我也有Ember CLI。 在Ember CLI应用程序中,我试图做一个npm install但是当我这样做,我在terminal中得到这个错误:

 npm WARN package.json npm@1.4.21 Non-dependency in bundleDependencies: inherits npm ERR! Darwin 14.0.0 npm ERR! argv "node" "/usr/local/bin/npm" "install" npm ERR! node v0.10.33 npm ERR! npm v2.1.11 npm ERR! code E404 npm ERR! 404 Not Found: expresss npm ERR! 404 npm ERR! 404 'expresss' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 It was specified as a dependency of 'ember-cli' npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! Please include the following file with any support request: npm ERR! /Users/Nagarjun/Code/sumo-list/web-client/npm-debug.log 

解决之前,我无法运行我的项目。 我错过了什么? 我甚至Google,但找不到任何expression

我的猜测是'expresss'(有一个额外的s)是npm上的一个包。 这个依赖实际上是在ember-cli的package.json文件中列出的,但是我不认为有人会在以后的版本中注意到它。

certificate: https : //github.com/stefanpenner/ember-cli/blob/ec8a6ab898599746bddbb8f72f7633c29f0ee95b/package.json#L58

我能够通过使用brew完全卸载节点和npm来解决此问题。 然后,使用nodejs.org中的包安装node.js。 现在,我的npm版本是1.4.28。 看起来问题是由更新的npm 2.1.10引起的。 不知道为什么brew自动拿起新的NPM。

看看你的package.json依赖项部分。 看起来像一个错字。

我遇到了同样的问题,但通过运行sudo npm install -g ember-cli来修复