我有一个angular项目在我的电脑上运行,没有任何错误。当我试图在另一台电脑上打开项目时,当运行客户端时,我得到了这个错误(后台运行没有问题)。
core.js:35929 Uncaught TypeError: Cannot read property 'id' of undefined
at registerNgModuleType (core.js:35929)
at core.js:35947
at Array.forEach (<anonymous>)
at registerNgModuleType (core.js:35943)
at core.js:35947
at Array.forEach (<anonymous>)
at registerNgModuleType (core.js:35943)
at new NgModuleFactory$1 (core.js:36105)
at compileNgModuleFactory__POST_R3__ (core.js:41895)
at PlatformRef.bootstrapModule (core.js:42260)
请帮助我了解我在新电脑上缺少了什么,我相信这可能是我需要在控制台运行的代码行,比如npm...。