fullstack-hy2020 / fullstack-hy2020.github.io

https://fullstack-hy2020.github.io
Other
1.53k stars 3.84k forks source link

Unable to install gatsby-cli #3772

Closed zs-5 closed 1 week ago

zs-5 commented 4 weeks ago

Following the contributing guidelines, in step 4 (when running npm install -g gatsby-cli), the installation fails due to lmdb, preventing us from running it.

gatsby-install-bug

Log file: 2024-08-15T22_44_13_017Z-debug.log

I've also double checked the issue on a fresh vm.

mluukkai commented 1 week ago

you shoud use node 10, at least with 10.18 it works

zs-5 commented 1 week ago

Just FYI: I was using Node 10 (as seen from the 2nd line of the log, node version 10.24.1), but maybe you're right, it might only work on 10.18.

mluukkai commented 1 week ago

gatsby-cli is actually not needed, at least the global installation. will remove that step from the guidelines