Replies: 4 comments
-
|
I had a similar issue today and solved it with You might find this thread relevant. |
Beta Was this translation helpful? Give feedback.
-
|
Issue is due to node shebang used by wcat binary https://github.com/websockets/wscat/blob/2cd78192a670a4e36be0aeee0ec32a4243392518/bin/wscat#L1 Either install node or run it within the bun process as suggested above. |
Beta Was this translation helpful? Give feedback.
-
|
Another solution is to patch the package to use |
Beta Was this translation helpful? Give feedback.
-
|
is it not possible to create a symlink from node to bun? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I install bun and then install a global package wscat via
bun install -g wscat.I can see
wscatbinary available, but when i callwscat --helpI get:env: node: No such file or directory.Why is it even searching for node and how can I fix it? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions