Skip to content
This repository was archived by the owner on Dec 10, 2024. It is now read-only.

Please provide more precise installation instructions #42

Open
tomjaguarpaw opened this issue Jan 2, 2021 · 0 comments
Open

Please provide more precise installation instructions #42

tomjaguarpaw opened this issue Jan 2, 2021 · 0 comments

Comments

@tomjaguarpaw
Copy link
Contributor

tomjaguarpaw commented Jan 2, 2021

I'm not familiar with npm and did not find it easy to discover how to set up this project. It would be helpful if the instructions could be made more precise.

On Debian, at least, I believe one can do it as follows

sudo apt-get install npm
npm config set prefix $HOME/usr/npm
npm i npm@latest -g
sudo apt-get install libvips-dev
$HOME/usr/npm/bin/npm install gatsby-cli
$HOME/usr/npm/bin/npm install gatsby-plugin-your-fonts --save
$HOME/usr/npm/bin/npm start

(Regrettably this did not actually work for me as I am on a 32-bit system. The haskell.foundation npm package depends on gatsby-plugin-your-fonts which seems to depend on a package called sharp which depends on a library called vips. sharp seems to download a vips binary itself on x64 but for 32-bit processors it tries to build it itself from source. It fails with an error and I have no idea how to fix it. Nonetheless, I think the recipe I mention above should work for those on x64 systems.)

UPDATE: Trying to build on a 64-bit machine did not work either, sadly. I received errors similar to this GitHub issue. I think precise, robust install instructions for this project would go a long way.

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

No branches or pull requests

1 participant