Comments (6)
See this:
#321
from chroma.js.
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.
Thank you so much.
My apologies for being late.
I'll try it.
from chroma.js.
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.
@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.
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)
- Is there a way to toggle scale reverse?
- Color scale look up table?
- HCL / LCH plain js object not constructing the correct colors. HOT 1
- Brewer scales does not seem accurate
- [Question] State of this library? HOT 1
- Add OkHSV/OkHSL support. HOT 1
- Add ARGB
- Feature request: Add a way to retrieve the domain from a color scale
- Updated fork HOT 18
- Got hue value `NaN` from chroma('#000000').oklch() HOT 1
- OKLCH support in `css()` HOT 5
- Inquiry regarding re-exposure of chroma.js
- Question: computing variance HOT 9
- BUG: scale.colors() does not respect the change in domain HOT 2
- External 404 in docs
- Unhandled error with a decimal gamma value and input out of domain HOT 2
- color returned by the `oklch()` function does not match input color space CSS
- HSL to RGB forces rounding even with rgb(false)
- Question: Luminance function desaturates colors. Is it by design?
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 chroma.js.