How to use any Nodejs dependened modules (pino-pretty, pm2) with Bunjs
bunjs, pino, pino-pretty, fix, pm2

Why This Occurs?
pino-pretty
requires Node.js to executeThus it looks for the
node
executable.
How to Resolve?
In the example provided, you're using bun
to execute a TypeScript file and then piping (|
) the output to pino-pretty
which is also being run with bun
. This is assuming that bun
can work as a drop-in replacement for node
in this scenario. However, be cautious with this approach as it might not be applicable for all Nodejs packages or scripts due to compatibility issues.
PreviousHow to fix Bunjs broken —global downloadNextInstagram saved_collections.json dosyasini csv dosyasina cevirmek ve notion’a a
Last updated
Was this helpful?