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

hey there, could you post your package.json please?

also worth suggesting you give this a read through if you haven’t already:

Hiya, sorry you are having trouble with your build.

This Support Guide contains a ton of useful debugging tips.