Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing error when 'npm install' #202

Open
SSk123 opened this issue Dec 24, 2020 · 10 comments
Open

Facing error when 'npm install' #202

SSk123 opened this issue Dec 24, 2020 · 10 comments

Comments

@SSk123
Copy link

SSk123 commented Dec 24, 2020

I did rm-rf node_nodules and npm install in my root directory, I am facing this issue in colorthief package.

image

Within node_modules/colorthief/package.json there is a dependency getting loaded "quantize": "github:lokesh/quantize"
which seems to be causing this error.

I am using node -v v12.16.1 and "colorthief": "^2.3.2"
Any help in resolution is highly appreciated.

@Britt00
Copy link

Britt00 commented Jan 2, 2021

I had the same issue. Currently using node v12.18.3. By downgrading to "colorthief": "^2.2.0" everything worked again. I did not try any other versions.

@RoyalIcing
Copy link

This also caused a problem for me. I believe publishing the fork lokesh/quantize as its own npm package would solve the problem, instead of referencing from github. I also had to downgrade to 2.2.0

@brightsider
Copy link

@lokesh can you fix it?

@dreamerblue
Copy link

dreamerblue commented Nov 29, 2021

Please publish a npm package instead of using github:lokesh/quantize. It will cause issues.

@taejs
Copy link

taejs commented Jan 6, 2022

That needs fixing. @lokesh

@aChudinov
Copy link

aChudinov commented Jan 11, 2022

@erisontavares
Copy link

we are also facing the same issue when deploying, npm install fails on the server because of this dependency

@coldrainc
Copy link

coldrainc commented Mar 29, 2022

Need to publish quantize @lokesh

@forgowhisky
Copy link

still having this issue @lokesh

@pioug
Copy link

pioug commented Sep 3, 2022

I created a monorepo with colorthief including some (abandoned) dependencies that needed an update too. It's not super classy to share it here but we are losing so much time collectively trying to fix this. Please head over to https://github.com/pioug/colorsuite. If anyone is interested in keeping the project/repository alive, ping me there, I'll add you as a maintainer.

npm install colorthief@npm:@pioug/colorthief

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests