I am trying to run Strapi admin panel on my Mac M1. I have setup the Rosetta terminal for the same.
After running yarn develop
, I am getting the following error.
Something went wrong installing the "sharp" module
Cannot find module '../build/Release/sharp-darwin-x64.node'
Require stack:
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/sharp/lib/sharp.js
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/sharp/lib/constructor.js
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/sharp/lib/index.js
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/@strapi/plugin-upload/server/services/image-manipulation.js
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/@strapi/plugin-upload/server/services/index.js
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/@strapi/plugin-upload/server/index.js
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/@strapi/plugin-upload/strapi-server.js
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/@strapi/strapi/lib/core/app-configuration/load-config-file.js
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/@strapi/strapi/lib/core/app-configuration/config-loader.js
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/@strapi/strapi/lib/core/app-configuration/index.js
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/@strapi/strapi/lib/commands/develop.js
- /Users/chanondler/Desktop/repos/tower-mapper-strapi/node_modules/@strapi/strapi/bin/strapi.js
There are multiple solutions on the web, but which one would be the correct. My Nodejs Version in 16.14.0