Closed Undecised closed 3 years ago
Which Node version are you using?
Seems like this happens with Node >= 12.
Tested with:
Possibly related: https://github.com/lovell/sharp/issues/2182#issuecomment-618823533
As a temporary fix might be worth trying to change the Sharp version in the package.json
and run npm i
again to see if it works. Otherwise downgrading the version of Node might be the way to go
Alright so i was using
Seems like this happens with Node >= 12.
Tested with:
- 10.22.1, works
- 11.15.0, works
- 12.18.4, throws
- 13.14.0, throws
- 14.11.0, throws
Possibly related: lovell/sharp#2182 (comment)
My bad, i was using node 14.10, that might've been the problem.
I tested on node 14.11.0 and im still getting the error.
I'll try downgrading to node 10
Fixed. Node10 is the solution.
I wouldn't call it a solution, just a workaround.
Describe the bug Whenever i try installing the dependencies i get a lot of errors:
And so it continues a lot of lines. To Reproduce Steps to reproduce the behavior:
Expected behavior I expect it to compile but meh Screenshots If applicable, add screenshots to help explain your problem.
Additional context I tried deploying on hekoru and repl.it too. Last one is on my personal machine.