hackafro / angular-epic-spinners Goto Github PK
View Code? Open in Web Editor NEWReusable angular components for epic-spinners
Home Page: https://hackafro.github.io/angular-epic-spinners/
License: MIT License
Reusable angular components for epic-spinners
Home Page: https://hackafro.github.io/angular-epic-spinners/
License: MIT License
<app-atom-spinner [animationDuration]="animationDuration" [size]="100" [color]="'#ff1d5e'"
></app-atom-spinner>
The above is working but when I added the below one it throws an error of 'core.js:13987 'app-flower-spinner' is not a known element:'.
<app-flower-spinner
[animationDuration]="2500"
[size]="70"
[color]="'#ff1d5e'"
></app-flower-spinner>
When trying to use this excellent library after upgrading to Angular 6 and rxjs 6, it no longer compiles.
Angular 6.0.3
rxjs 6.2.0
Error:
Failed to compile.
ERROR in node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.
node_modules/angular-epic-spinners/node_modules/@angular/core/src/application_ref.d.ts(8,10): error TS2305: Module '"c:/node/satng/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/angular-epic-spinners/node_modules/@angular/core/src/event_emitter.d.ts(8,10): error TS2305: Module '"c:/node/satng/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/angular-epic-spinners/node_modules/@angular/core/src/linker/query_list.d.ts(8,10): error TS2305: Module '"c:/node/satng/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/angular-epic-spinners/node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.
node_modules/angular-epic-spinners/node_modules/@angular/core/src/util/lang.d.ts(8,10): error TS2305: Module '"c:/node/satng/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
node_modules/rxjs/Subject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subject'.
Hello HackAfro, still love your spinners library! Just wanted to let you know that Angular 7 is breaking it again, with a very similar message to last time around:
ERROR in node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.
node_modules/angular-epic-spinners/node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.
Whenever you get a chance to look at it, thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.