GithubHelp home page GithubHelp logo

Comments (5)

Elecash avatar Elecash commented on May 18, 2024

I'm not seeing those errors in my example project.

This is my tsconfig.json:

https://github.com/videogular/videogular2/blob/master/examples/src/tsconfig.json

from videogular2.

petervojtek avatar petervojtek commented on May 18, 2024

thanks for quick response.

Btw when I merge your tsconfig.json into mine, I end up with following error:

Unhandled rejection Error: Cannot resolve module 'ionic-angular' in app
    Required in app/app.ts
    at ResolutionError.Error (native)
    at new ResolutionError (my_app/node_modules/awesome-typescript-loader/dist.babel/deps.js:482:88)
    at my_app/node_modules/awesome-typescript-loader/dist.babel/deps.js:301:37
    at tryCatcher (my_app/node_modules/awesome-typescript-loader/node_modules/bluebird/js/main/util.js:26:23)
    at CatchFilter.doFilter (my_app/node_modules/awesome-typescript-loader/node_modules/bluebird/js/main/catch_filter.js:52:40)
    at CatchFilter.tryCatcher (my_app/node_modules/awesome-typescript-loader/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (my_app/node_modules/awesome-typescript-loader/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (my_app/node_modules/awesome-typescript-loader/node_modules/bluebird/js/main/promise.js:581:18)
    at Promise._settlePromises (my_app/node_modules/awesome-typescript-loader/node_modules/bluebird/js/main/promise.js:697:14)
    at Async._drainQueue (my_app/node_modules/awesome-typescript-loader/node_modules/bluebird/js/main/async.js:123:16)
    at Async._drainQueues (my_app/node_modules/awesome-typescript-loader/node_modules/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (my_app/node_modules/awesome-typescript-loader/node_modules/bluebird/js/main/async.js:15:14)
    at processImmediate [as _immediateCallback] (timers.js:383:17)

and when I use exactly the same tsconfig.json as you do, I get the Duplicate identifier errors.

I actually use Ionic beta via ionic serve command, which I guess brings some additional config/build process for typescript and probably that is why I cannot benefit from your tsconfig.json.

from videogular2.

Fluccioni avatar Fluccioni commented on May 18, 2024

Hello @petervojtek, Do you found a solution since the message was posted because I have the same issue and I'm not able to find a proper way to compile. Thanks

from videogular2.

petervojtek avatar petervojtek commented on May 18, 2024

hi @Fluccioni , so far the only solution i found is the one described in my first comment, and this is to remove first line from vg-player.d.ts, i.e. remove this line:

/// <reference path="../../node_modules/angular2/typings/browser.d.ts" />

from videogular2.

Elecash avatar Elecash commented on May 18, 2024

Please, update to latest version and check if this problems still exists.

from videogular2.

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.