Sriram Karthick
Sriram Karthick

Reputation: 153

"gatsby develop" cannot run in Mac M1

Iam using gatsby 3.1.2 version with strapi as CMS, were i could not able to run gatsby develop and it is throwing this below mentioned error. Also attached the screenshot from terminal.

ERROR 

Invalid options object. Ignore Plugin has been initialized using an options object that does not match the API schema.
 - options should be one of these:
   object { resourceRegExp, contextRegExp? } | object { checkResource }
   Details:
    * options misses the property 'resourceRegExp'. Should be:
      RegExp
      -> A RegExp to test the request against.
    * options misses the property 'checkResource'. Should be:
      function
      -> A filter function for resource and context.

enter image description here

System Informations:

Upvotes: 1

Views: 893

Answers (1)

Sriram Karthick
Sriram Karthick

Reputation: 153

In case it helps anyone, prior to this error (where it just doesn't run, without throwing any errors or clues) I had a hard time with npm install, but I was able to fix that by running the following:

brew reinstall vips
xcode-select --install
brew install gcc
brew reinstall vips
brew info vips
npm i

Upvotes: 3

Related Questions