Command failed with exit code 7: npm rebuild && gatsby build

hi there, what version of the gatsby cli are you using?

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile:

If you are still having problems, please provide as much information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!