Hey, cheers for the log. It looks like you might have been caught by some of the build gotchas!
Little did I know Netlify does something special when you add a
process.env.NODE_ENVbuild environment variable.
If you manually set the NODE_ENV to production, any devDependencies in your package.json will NOT be installed when we automatically run yarn install or npm install at the beginning of the build.
So basically since none of my devDependencies were even getting installed, therefore the build failing should be no surprise.
Let me know how you get on ![]()