'gatsby build' works locally but not on Netlify

Hey @Twads9816,

Thanks for reporting this issue to us. We actually found a bug in our build system in the way we added the node_modules/.bin directory to the user execution PATH at build time, you can read more about it here - Changes to the way executables from installed node_modules are exposed at build time.

We’re in the process of rolling out this change/fix to our customers, but meanwhile I’ve went ahead and added your account to the rollout already. Could you test out a build a let us know if that works for you?

Thanks!

1 Like