What happened?
After seeing a message that Node 20 is no longer supported I decided to uninstall and reinstall pi with bun.
However this causes
~/.bun/install/global/node_modules/undici/lib/web/cache/cachestorage.js:20
webidl.util.markAsUncloneable(this)
^
TypeError: webidl.util.markAsUncloneable is not a function
becuase pi executable is still using
#!/usr/bin/env node
despite being installed in ~/.bun/bin/pi
suggested fix:
use #!/usr/bin/env bun for bun installations
Steps to reproduce
Expected behavior
No response
Version
No response
What happened?
After seeing a message that Node 20 is no longer supported I decided to uninstall and reinstall
piwith bun.However this causes
becuase
piexecutable is still using#!/usr/bin/env nodedespite being installed in
~/.bun/bin/pisuggested fix:
use
#!/usr/bin/env bunfor bun installationsSteps to reproduce
Expected behavior
No response
Version
No response