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

Problem with M1 Processor - Gatsby #1045

Open
leolohmann opened this issue Nov 11, 2021 · 0 comments
Open

Problem with M1 Processor - Gatsby #1045

leolohmann opened this issue Nov 11, 2021 · 0 comments

Comments

@leolohmann
Copy link
Contributor

Describe the bug
It's not possible to run Gatsby on M1 if Ithere's at least a specific Gatsby update to version 3.x and some GitHub issues from Gatsby they recommend installing vips which are sharp dependencies that work on M1. But to make the Gatsby plugins work using vips we need to be using the sharp 0.29 dependency which is only available in gatsby-plugin-sharp 3.x and is dependent on Gatsby 3.x

To Reproduce
Steps to reproduce the behavior:

  1. Needs to run on a Mac with M1 processor with the last version macOs 12.0.1

Expected behavior

ERROR 

Error in "/Users/leonardo/Documents/GitHub/liferay.design/node_modules/gatsby-plugin-manifest/gatsby-node.js":
Something went wrong installing the "sharp" module

dlopen(/Users/leonardo/Documents/GitHub/liferay.design/node_modules/sharp/build/Release/sharp.node, 0x0001): symbol not found in flat namespace '__ZTVN4vips7VOptionE'

- Remove the "node_modules/sharp" directory then run
  "npm install --ignore-scripts=false --verbose" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/install
- Search for this error at https://github.com/lovell/sharp/issues


  Error: Something went wrong installing the "sharp" module
  dlopen(/Users/leonardo/Documents/GitHub/liferay.design/node_modules/sharp/build/Release/sharp.node, 0x0001): symbol not found in flat namespace '__ZTVN4vips7VOptionE'
  - Remove the "node_modules/sharp" directory then run
    "npm install --ignore-scripts=false --verbose" and look for errors
  - Consult the installation documentation at https://sharp.pixelplumbing.com/install
  - Search for this error at https://github.com/lovell/sharp/issues

Screenshots
image

Desktop (please complete the following information):

  • macOS: 12.0.1
  • Chrome 95

Additional context
Trying to run Liferay.design on my Mac.

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

1 participant