-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Node.js x64 required for starters that use sharp #2311
Comments
So if this is a requirement we should add that here: https://www.gatsbyjs.org/docs/gatsby-on-windows/ Maybe the getting started instructions too could have a link to the windows. Huh, we could actually check the the OS of the visitor and throw up a big warning just for Windows people. |
How common is 32-bit these days in Windows? I thought 32-bit had disappeared ages ago… |
Node.js still releases 32-bit builds for non-Mac platforms. I was running 32-bit Node on 64-bit Windows because a long while ago (years), certain native Node modules seemed to have an issue with 64-bit Node on Windows. Today I switched away from 32-bit Node and I bet there aren't many others running 32-bit, but I don't know. |
However, in the case of For evidence of this, search for 32-bit on this page - http://sharp.dimens.io/en/stable/install/ |
I'm using 64-bit node, but still encounter this same error. |
not sure if i get the same error right now but i sometimes have to |
Update gatsby-on-windows to include mention that Node x64 is a requirement for Sharp fixes #2311
Until I installed an x64 build of Node.js, I kept getting the following error when using any starter that included sharp as a dependency.
I'm just leaving this here for other users to find, please feel free to close it immediately.
Perhaps the gatsby-starters page could note that x64 node might be required or maybe just a general note about native dependencies. (In this particular case, the
sharp
error states thatIntel Architecture 32-bit systems require manual installation - please see
http://sharp.dimens.io/en/stable/install/.)This happened to me on Windows 10 x64 with Node.js x86 (v6.11.3) installed...
Example:
> gatsby new gatstrap https://github.com/jaxx2104/gatsby-starter-bootstrap
The text was updated successfully, but these errors were encountered: