Netlify deployment fails (esbuild error) #73
Labels
blocked-upstream
This issue is currently blocked by another problem/limitation in an upstream package
meta: stale
I've been strugling all day to get deployments on Netlify to work, hopefully somebody can point me in the right direction here.
This error is thrown once contentlayer starts building.
I've updated the netlify next plugin to the latest RC as stated in #68 this solves the syntax error, but unfortunately not the esbuild error.
Also tried running
contentlayer build
manually, this results in the same error on Netlify, locally this works.Versions:
The Next.js app is build from a subdirectory.
Using the netlify-cli to build the app locally works fine and i'm able to publish the site.
The text was updated successfully, but these errors were encountered: