无法解决有角项目中的节点模块依赖性

时间:2018-07-23 23:26:05

标签: node.js angular npm

我运行了npm install leankit-client,但是找不到模块。确切的错误如下所示:

  ./node_modules/aws-sign2/index.js中的

错误   找不到模块:错误:无法在“ C:\ Users \ xx \ Desktop_REPOS \ leankit-angular-test \ node_modules \ aws-sign2”中解析“ crypto”

相当多的模块:

  • 密码
  • http
  • https
  • net
  • 路径

更多

如何解决此问题,分别安装每个? ({npm installl crypto等)

npm安装的结果:

 $npm install leankit-client
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ leankit-client@2.4.0
updated 1 package in 9.457s

0 个答案:

没有答案