构建角度应用程序时出错

时间:2018-04-02 04:55:36

标签: typescript compilation

请帮我解决这个错误。我已经看到了堆栈溢出的一些解决方案,但它们对我不起作用。

  • 以下是错误代码

ERROR in ./src/app/remedies/Remedy.model.ts Module build failed: Error: /Volumes/Prince/MyApp/Angular/health/src/app/remedies/Remedy.model.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. at AngularCompilerPlugin.getCompiledFile (/Volumes/Prince/MyApp/Angular/health/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:674:23) at plugin.done.then (/Volumes/Prince/MyApp/Angular/health/node_modules/@ngtools/webpack/src/loader.js:467:39) at <anonymous>

0 个答案:

没有答案