angular2-fontawesome icon indicating copy to clipboard operation
angular2-fontawesome copied to clipboard

Problem with ts-loader

Open guzmo opened this issue 7 years ago • 0 comments

Hey,

I've gotten some problems when building my app. It can't run the ts-loader in my webpack.config.js, it works on my windows machine but not on ubuntu so that's just weird :P but anyway the problem is that angular2-fontawesome gets put in my dist folder in a node_modules map because it tries to build it ( I think ) I found that its not good to have both .d.ts and .ts files in the same folders but I'm not sure this is the problem. https://github.com/Microsoft/TypeScript/issues/10704

ts-loader: Using [email protected] and /usr/src/app/client/tsconfig.json

stream.js:74
      throw er; // Unhandled stream error in pipe.
      ^
Error: ./~/angular2-fontawesome/angular2-fontawesome.ts
Module build failed: Error: Typescript emitted no output for /usr/src/app/node_modules/angular2-fontawesome/angular2-fontawesome.ts
    at Object.loader (/usr/src/app/node_modules/ts-loader/index.js:456:15)
 @ ./client/app/components/app.module.ts 63:29-81

Any help would be appreciated :)

guzmo avatar Oct 10 '16 21:10 guzmo