Open MasaruKitajima opened 5 months ago
Thank you so much. My apologies for being late. I'll try it.
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
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.
@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!
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).
According to npm,
rollup-plugin-terser
has been deprecated.On the page, it says;
Please confirm it, and if possible, please check versions of dependcies.