Is esbuild supported? It is a dependency for mdx-bundler

I’m using the mdx-bundler that needs esbuild. When deploying my site I’m seeing the error:


11:54:47 PM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
11:54:45 PM: > deasync@0.1.28 install /opt/build/repo/node_modules/deasync
11:54:45 PM: > node ./build.js
11:54:45 PM: `linux-x64-node-8` exists; testing
11:54:45 PM: Binary is fine; exiting
11:54:45 PM: > esbuild@0.17.6 postinstall /opt/build/repo/node_modules/@remix-run/dev/node_modules/esbuild
11:54:45 PM: > node install.js
11:54:45 PM: /opt/build/repo/node_modules/@remix-run/dev/node_modules/esbuild/install.js:116
11:54:45 PM:       } catch {
11:54:45 PM:               ^
11:54:45 PM: SyntaxError: Unexpected token {
11:54:45 PM:     at createScript (vm.js:80:10)
11:54:45 PM:     at Object.runInThisContext (vm.js:139:10)
11:54:45 PM:     at Module._compile (module.js:617:28)
11:54:45 PM:     at Object.Module._extensions..js (module.js:664:10)
11:54:45 PM:     at Module.load (module.js:566:32)
11:54:45 PM:     at tryModuleLoad (module.js:506:12)
11:54:45 PM:     at Function.Module._load (module.js:498:3)
11:54:45 PM:     at Function.Module.runMain (module.js:694:10)
11:54:45 PM:     at startup (bootstrap_node.js:204:16)
11:54:45 PM:     at bootstrap_node.js:625:3

Hi Welcome to the forums! Thanks so much for reaching out. Netlify does support esbuild. Netlify uses a forked version of esbuild: GitHub - netlify/esbuild: An extremely fast JavaScript bundler and minifier .

I suspect theres something else going on. Can you please share the site impacted so I can check our our end? I’m also attaching some documentation about debugging your build.

Hope this help!

This is the site: Netlify App

I’ll have a look at the linked doc, thanks

Have you deleted the site?