Webpack issues: Module build failed: Error: Typescript emitted no output for ...
See original GitHub issueI recently upgraded angular to 2.4.1
, and angular2-notifications to 0.4.49
, and now I’m getting the following errors when I run webpack:
ERROR in ./~/angular2-notifications/src/push-notifications.service.ts
Module build failed: Error: Typescript emitted no output for /home/asdf/git/asdf/node_modules/angular2-notifications/src/push-notifications.service.ts
at Object.loader (/home/asdf/git/asdf/node_modules/ts-loader/index.js:437:15)
@ ./~/angular2-notifications/components.js 14:35-78
ERROR in ./~/angular2-notifications/src/notifications.service.ts
Module build failed: Error: Typescript emitted no output for /home/asdf/git/asdf/node_modules/angular2-notifications/src/notifications.service.ts
at Object.loader (/home/asdf/git/asdf/node_modules/ts-loader/index.js:437:15)
@ ./~/angular2-notifications/components.js 8:30-68
ERROR in ./~/angular2-notifications/src/max.pipe.ts
Module build failed: Error: Typescript emitted no output for /home/asdf/git/asdf/node_modules/angular2-notifications/src/max.pipe.ts
at Object.loader (/home/asdf/git/asdf/node_modules/ts-loader/index.js:437:15)
@ ./~/angular2-notifications/components.js 10:17-42
Warning: Task "webpack:dev" failed. Use --force to continue.
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Webpack with typescript getting TypeScript emitted no output ...
First change webpack config entry like index.js to index.tsx. Second make sure rule added for tsx file like: { test: /\.
Read more >Typescript emitted no output · Issue #767 · TypeStrong/ts-loader
Getting the following error: Module build failed: Error: Typescript emitted no output for C:\xampp\htdocs\node-api\src\js\server.ts.
Read more >webpack/webpack - Gitter
src/app.ts Module build failed: Error: Typescript emitted no output for /Users/administrator/WebstormProjects/TypescriptFifthApp/src/app.ts at Object.loader ...
Read more >typescript emitted no output for - You.com | The search engine you ...
Hi, using your module with webpack, ts-loader 1.3 and typescript 2.1.4: modulesModuleBuildError: Module build failed: Error: Typescript emitted no output for ...
Read more >Storybook 6.4.1 fails to start with Typescript issue 12358 (won't ...
Describe the bug When trying to start Storybook 6.4.1, I get this error: ModuleBuildError: Module build failed (from ./node_modules/ts-loader/index.js): ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
same there with angular 4 rc2 and webpack/typescript
edit: one workaround is to ensure js are loaded before ts so
and not
Hmm, first time I see this. Thanks for reporting it. I’ll look in to it. 👍