Comments (5)
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.
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.
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.
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.
Please, update to latest version and check if this problems still exists.
from videogular2.
Related Issues (20)
- Compilation error in Angular 10 HOT 23
- Can we provide dynamic auto refresh Image url in provide player.
- mjpeg camera stream.
- ⚠️ Please read before opening new issues ⚠️
- Can play video in FLV? HOT 1
- Cannot find name 'AudioTrackList'. && 'VideoTrackList' HOT 1
- crossOrigin error (but no issues with mat-video) HOT 1
- on AOT getting an error of: 'IMediaElement': audioTracks, msAudioCategory, msAudioDeviceType, msGraphicsTrustStatus, and 13 more. HOT 8
- Hide video control bar show only the poster but open full screen on click poster
- Codec: MPEG-4 Video (mp4v) Not Playing MAC/IOS
- Hi Jaime I am still getting these error to play a m3u8 file HOT 2
- How to remove Floating control icons
- video not auto playing when refresh page
- Dependency conflict with the latest angular version HOT 4
- Cannot create property 'singleVideo' on number '1'
- allow Fullscreen on double mouse click
- Problem updating the source video url HOT 1
- node_modules/@videogular/ngx-videogular/buffering/lib/buffering.module.d.ts:6:21 - error TS2694: Namespace
- Auto adjust bitrate with network speed
- playing videos loaded asynchronously does not work.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from videogular2.