模块构建失败:ng服务角度

时间:2017-11-06 21:11:16

标签: angular

尽管升级了整个node_modules,但我仍然遇到此错误。我也尝试删除node_modules。我是棱角分明的新手,我不太确定这个错误试图告诉我什么。我没有其他错误消息。这是我收到的唯一信息。任何指导表示赞赏!

ERROR in ./node_modules/jw-bootstrap-switch-ng2/dist/directive.ts
Module build failed: Error: Path\user-app\node_module
s\jw-bootstrap-switch-ng2\dist\directive.ts is not part of the compilation output
. Please check the other error messages for details.
    at AngularCompilerPlugin.getCompiledFile (Path\us
er-app\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:629:23)
    at plugin.done.then (Path\user-app\node_modules\@
ngtools\webpack\src\loader.js:467:39)
    at process._tickCallback (internal/process/next_tick.js:109:7)
 @ ./node_modules/jw-bootstrap-switch-ng2/dist/index.js 10:18-40
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

0 个答案:

没有答案