什么是ngc模块codegen

时间:2016-12-12 22:01:12

标签: node.js angular npm

我有错误

$ node node_modules/.bin/ngc --project foo
module.js:471
    throw err;
    ^

Error: Cannot find module './codegen'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/paul/lucid/main2/cake/node_modules/.bin/ngc:5:17)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

我试图解密此错误。什么是./codegen以及节点尝试从哪个路径读取它?

0 个答案:

没有答案