Angularjs NodeJS-找不到模块';spdx许可证ID';

Angularjs NodeJS-找不到模块';spdx许可证ID';,angularjs,node.js,npm,yeoman,yeoman-generator-angular,Angularjs,Node.js,Npm,Yeoman,Yeoman Generator Angular,我是nodejs,yeoman的新手,在使用角度生成器时遇到问题(找不到模块“spdx许可证ID”)。我已经安装了node、bower和grunt。详情如下 错误:找不到模块“spdx许可证ID” 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 (int

我是nodejs,yeoman的新手,在使用角度生成器时遇到问题(找不到模块“spdx许可证ID”)。我已经安装了node、bower和grunt。详情如下

错误:找不到模块“spdx许可证ID”

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
at Function.Module.\u解析文件名(Module.js:325:15)
在Function.Module.\u加载(Module.js:276:25)
at Module.require(Module.js:353:17)
根据需要(内部/module.js:12:17)
反对。

不确定grunt等,但要简单地安装任何节点库,请执行以下操作:

            apt-get install npm 
此后,任何节点模块都应通过命令行安装:

            npm install MODULE_NAME
e、 g:

或者,要全局安装它,以便node可以在您的系统上的任何位置找到它(不总是这样的briliiant想法,但无论如何),请使用global-g标志:

           npm install -g MODULE_NAME 

那些无关的工具有时会绊倒你——咕噜、约曼等

你在使用npm吗?
           npm install -g MODULE_NAME