Comments (13)
You should not declare GaugeLabel nor GaugeSegment in your module, only where you're gonna use it.
Also if you are using system.js you should map it there too.
That's the only thing I see wrong right now.
from ng-gauge.
Thx for your answer. A system.js i don't have.
I redirected the question to the ionic forum. Maybe it's an ionic specific "mapping" thing.
from ng-gauge.
Perfect, just let me know
from ng-gauge.
Today, it worked ...
Only the gauge.component.scss couldn't be loaded. I had to copy it to the www directory.
Unhandled Promise rejection: Failed to load gauge.component.scss ; Zone: <root> ; Task: Promise.then ; Value: Failed to load gauge.component.scss undefined
from ng-gauge.
It's weird. I'll check again in my code if scss is loading
from ng-gauge.
I can confirm it's working
from ng-gauge.
@nowrap @subarroca Can you guys post a full example? I'm having trouble getting it to work too
from ng-gauge.
Here's my error that I am getting:
Uncaught Error: Module build failed: TypeError: Cannot read property 'content' of undefined
at Object.typescriptSourcemapLoaderMemory
from ng-gauge.
Hi @Tyler-Darby could you specify the version of angular you're using and if it's combined with ionic?
from ng-gauge.
@subarroca I got it working, It was excluded in my tsconfig.json for some reason, all good now. Awesome little component you've got here 👍
from ng-gauge.
@Tyler-Darby hi, Having the same problem, "Cannot read property 'content' of undefined", how do you solve that, thanks.
from ng-gauge.
@zjw1918 Are you using Ionic?
I made this tweak to my tsconfig.json
file.
"include": [
"src/**/*.ts",
"node_modules/ng2-kw-gauge/index.ts"
],
from ng-gauge.
Thanks @Tyler-Darby
from ng-gauge.
Related Issues (12)
- Using it with system.config.js HOT 1
- 90 deg charts on Microsoft Edge HOT 2
- any code demo ??? HOT 2
- IE11 Support HOT 2
- usate with systemjs HOT 1
- Microsoft Edge SVG rendering bug HOT 2
- Angular 4.0.0 Support
- Runtimer Error: ENOENT:... no such file .... /node_modules/ng-gauge/index.js HOT 8
- Ionic 3 compatible? HOT 2
- is Angular 5 Compatible? HOT 3
- No default jsDelivr CDN file set
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 ng-gauge.