Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with ts-loader #19

Open
guzmo opened this issue Oct 10, 2016 · 0 comments
Open

Problem with ts-loader #19

guzmo opened this issue Oct 10, 2016 · 0 comments

Comments

@guzmo
Copy link

guzmo commented Oct 10, 2016

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.
microsoft/TypeScript#10704

ts-loader: Using typescript@2.0.3 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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant