Why is `ts-node-esm` not installed?

I wonder how I need to build the app so that it actually runs in apify. I'm a bit at a loss to understand how to include this dependency in the docker-image given that it should be a dev dependency.

richardpoelderl@Richards-MBP apify % pnpm add ts-node-esm -D
 WARN  deprecated rollup-plugin-terser@6.1.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
 WARN  deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
Packages: +82
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 677, reused 656, downloaded 0, added 0, done
node_modules/.pnpm/esbuild@0.5.26/node_modules/esbuild: Running postinstall script, failed in 38ms
.../esbuild@0.5.26/node_modules/esbuild postinstall$ node install.js
│ error: Unsupported platform: darwin arm64 LE
└─ Failed in 38ms
 ELIFECYCLE  Command failed with exit code 1.
CleanShot_2023-06-26_at_16.26.162x.png
Was this page helpful?