小编use*_*427的帖子

NodeJS - 找不到模块“spdx-license-ids”

我是 Nodejs、yeoman 新手,在使用角度生成器时遇到问题(找不到模块“spdx-license-ids”)。我安装了node、bower、grunt。详细信息如下。

错误:找不到模块“spdx-license-ids”

at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\bdas\AppData\Roaming\npm\node_modules\generator-karma\node_modules\yeoman-generator\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\normalize-package-data\node_modules\validate-npm-package-license\node_modules\spdx-correct\index.js:1:80)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述 在此输入图像描述

node.js npm angularjs yeoman yeoman-generator-angular

3
推荐指数
1
解决办法
3310
查看次数