bonjurmrfirst / ng4-files

20 stars 15 forks source link

ERROR in ./node_modules/angular4-files-upload/index.ts #17

Closed AltRoot17 closed 5 years ago

AltRoot17 commented 6 years ago

Sir, Im use Angular -5 , I had following error how to fix that issue

ERROR in ./node_modules/angular4-files-upload/index.ts
Module build failed: Error: D:\web\ng4fbbootstrap\node_modules\angular4-files-upload\index.ts is not part of the compilation output. Please check the other error messages for details.
    at AngularCompilerPlugin.getCompiledFile (D:\web\ng4fbbootstrap\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:649:23)
    at plugin.done.then (D:\web\ng4fbbootstrap\node_modules\@ngtools\webpack\src\loader.js:467:39)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
 @ ./src/app/app.module.ts 21:0-55
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
Anil-bohorya commented 6 years ago

@AltRoot17 this could help - https://stackoverflow.com/questions/48136030/error-in-node-modules-ng4-files-index-ts-is-not-part-of-the-compilation-output

AltRoot17 commented 6 years ago

@Anil-bohorya Did you solved this?

Anil-bohorya commented 6 years ago

@AltRoot17 yes, including .ts file resolved this issue for me.

AltRoot17 commented 6 years ago

@Anil-bohorya ok thanks I'll try it