Comments (5)
@sammertime sorry I didn't have time to get back to you sooner. I haven't tried running node.js with the package, what is the issue you're running into?
from color-legend-element.
@clhenrick no worries at all. I ended up moving forward with a built in leaflet solution. The issue I was encountering occurred when I upgraded my node (20) and npm packages. It complained about the color-legend-element package being on an unsupported version of node js I believe. I was using parcel to develop locally and wasn't able to perform a code build when including the color-legend-element package. All the best.
from color-legend-element.
@sammertime it's probably because I have "engines" in the package.json set to a specific version of node. I think if I change this to allow that version of node and any greater version than it shouldn't throw this error.
However, it looks like this is only enforced when the engine-strict
config flag is set to true
, otherwise it will just produce a warning: https://docs.npmjs.com/cli/v10/configuring-npm/package-json#engines
You might try removing that config flag from your .npmrc
file if you have it set and see if that changes things.
from color-legend-element.
Reopening for now in case anyone else runs into this issue
from color-legend-element.
@sammertime I just published a new version (1.0.5), if you have a moment let me know if that fixes your issue. Thanks!
from color-legend-element.
Related Issues (10)
- Array.at bug in Safari
- Feature: scaleType: diverging HOT 1
- Idea: Support legends that work for colour deficient people HOT 1
- Idea: Expose event handlers on legend items
- Bug: rollup build includes d3 modules in bundle HOT 1
- update docs with windows os issues resolving peer deps
- Vertical Legend HOT 2
- Bug: CLE property `tickFormatter` does not influence how x-axis ticks are rendered HOT 1
- UMD build throws an error that prevents the library from working
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 color-legend-element.