Closed jppellerin closed 8 years ago
Hi @jppellerin Is that issue still exists?
@jppellerin It exists for me
ERROR in ./~/ng2-toasty/ng2-toasty.ts
Module build failed: Error: Typescript emitted no output for /Users/costisp/projects/domains/node_modules/ng2-toasty/ng2-toasty.ts
at Object.loader (/Users/costisp/projects/domains/node_modules/ts-loader/index.js:456:15)
@ ./app/main.ts 6:19-51
tsc --version
Version 2.0.0
I get the same thing as @costis.
Also does not play well with Codelyzer (but that's a Codelyzer issue). I had to deactivate to get the proper ng2-toasty error message.
ERROR in /redacted/ui/src/tsconfig.json
error TS6059: File '/redacted/ui/node_modules/ng2-toasty/ng2-toasty.ts' is not under 'rootDir' '/redacted/ui/src'. 'rootDir' is expected to contain all source files.
ERROR in /redacted/ui/src/tsconfig.json
error TS6059: File '/redacted/ui/node_modules/ng2-toasty/src/toasty.component.ts' is not under 'rootDir' '/redacted/ui/src'. 'rootDir' is expected to contain all source files.
ERROR in /redacted/ui/src/tsconfig.json
error TS6059: File '/redacted/ui/node_modules/ng2-toasty/src/toasty.config.ts' is not under 'rootDir' '/redacted/ui/src'. 'rootDir' is expected to contain all source files.
ERROR in /redacted/ui/src/tsconfig.json
error TS6059: File '/redacted/ui/node_modules/ng2-toasty/src/toasty.container.ts' is not under 'rootDir' '/redacted/ui/src'. 'rootDir' is expected to contain all source files.
ERROR in /redacted/ui/src/tsconfig.json
error TS6059: File '/redacted/ui/node_modules/ng2-toasty/src/toasty.service.ts' is not under 'rootDir' '/redacted/ui/src'. 'rootDir' is expected to contain all source files.
ERROR in /redacted/ui/src/tsconfig.json
error TS6059: File '/redacted/ui/node_modules/ng2-toasty/src/toasty.utils.ts' is not under 'rootDir' '/redacted/ui/src'. 'rootDir' is expected to contain all source files.
Not sure if this is related to @jppellerin and @costis problem, but this is known problem of typescript described better here - basically having d.ts files in same directory as .ts files causes typescript to get confused and crash. I'm using Typescript 1.9.0.
I made changes in another library (https://github.com/akserg/ng2-slim-loading-bar), so now it's time to update this. one. I will let you know when you can test it.
Please use 2.0.0 release to confirm that issue is gone.
Finally circling back to this. Confirmed working.