weixin_41568196
撒拉嘿哟木头
2013-12-24 17:49

为什么 npm 安装说我有未满足的依赖?

  • node.js
  • npm
  • dependencies

I have a node package. When I run npm install from the package root, it installs a bunch of things, but then prints several error messages that look like this:

npm WARN unmet dependency /Users/seanmackesey/google_drive/code/explore/generator/node_modules/findup-sync/node_modules/glob requires graceful-fs@'~1.2.0' but will load

I must be confused about what exactly npm install does. If it detects a dependency, shouldn't it install it? Under what conditions does it give me error messages like this, and how can I resolve the dependencies?

转载于:https://stackoverflow.com/questions/20764881/why-does-npm-install-say-i-have-unmet-dependencies

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

15条回答

为你推荐