Giter Club home page Giter Club logo

Comments (5)

clhenrick avatar clhenrick commented on August 16, 2024

@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.

sammertime avatar sammertime commented on August 16, 2024

@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.

clhenrick avatar clhenrick commented on August 16, 2024

@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.

clhenrick avatar clhenrick commented on August 16, 2024

Reopening for now in case anyone else runs into this issue

from color-legend-element.

clhenrick avatar clhenrick commented on August 16, 2024

@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)

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.