Coder Social home page Coder Social logo

Comments (6)

regorxxx avatar regorxxx commented on June 11, 2024 1

See this:
#321

from chroma.js.

regorxxx avatar regorxxx commented on June 11, 2024 1

You are supposed to delete the package-lock.json file before building, obviously. Also, you don't need to build it yourself, it's already built on the repo (?)

Have tested it today with v20.11.0. and zero problems anyway.

from chroma.js.

MasaruKitajima avatar MasaruKitajima commented on June 11, 2024

Thank you so much.
My apologies for being late.
I'll try it.

from chroma.js.

MasaruKitajima avatar MasaruKitajima commented on June 11, 2024

I cloned your repo and ran "npm insatall," but it failed.
I tried to install under Node v18.14.0, v18.17.0, and v20.11.0.
Which version of Node.js is required?
18.14.0.log
18.17.0.log
20.11.0.log

from chroma.js.

MasaruKitajima avatar MasaruKitajima commented on June 11, 2024

@regorxxx
Thank you for answering to me.
I deleted the package-lock.json file before building, but still got errors.
I suppose they're my own problems because I use anyenv and nodenv on my Mac.

May I ask you what do you mean by the following?

t's already built on the repo

I visited your repo and went to the release page, I found source code only.
My intention is to have a interactive web on localhost.

Blessings!

from chroma.js.

regorxxx avatar regorxxx commented on June 11, 2024

I mean you don't need to build the source code to get working files for web, since it's already built and offered with every update.

Those files are ready to use.
https://github.com/regorxxx/chroma.js/blob/main/chroma.js
https://github.com/regorxxx/chroma.js/blob/main/chroma.min.js

Now if you need ti import them via npm, can't help with that. But maybe you can load the js files on your localhost anyway.

(if you read the docs there, you will see different flavors are offered)

I deleted the package-lock.json file before building, but still got errors.

To be honest, npm building is sometimes a pain... if you write here the new errors maybe we can find where the problem lies. Today I found a problem on windows only, but it worked fine on unix and Mac.
Nothing has changed about building compared to the old fork though (I even fixed a few errors).

from chroma.js.

Related Issues (20)

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.