Coder Social home page Coder Social logo

Comments (7)

akserg avatar akserg commented on May 20, 2024 1

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.

from ng2-toasty.

akserg avatar akserg commented on May 20, 2024

Hi @jppellerin
Is that issue still exists?

from ng2-toasty.

costis avatar costis commented on May 20, 2024

@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

from ng2-toasty.

jppellerin avatar jppellerin commented on May 20, 2024

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.

from ng2-toasty.

lbialy avatar lbialy commented on May 20, 2024
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.

from ng2-toasty.

akserg avatar akserg commented on May 20, 2024

Please use 2.0.0 release to confirm that issue is gone.

from ng2-toasty.

jppellerin avatar jppellerin commented on May 20, 2024

Finally circling back to this. Confirmed working.

from ng2-toasty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.