JCMais / node-libcurl

libcurl bindings for Node.js
https://npmjs.org/package/node-libcurl
MIT License
666 stars 118 forks source link

How to use node-libcurl with bun? #387

Closed A-Posthuman closed 1 year ago

A-Posthuman commented 1 year ago

I'm interesting in trying to improve the speed of my app by using bun instead of node to run it. However when I try to run my app with bun 0.5.9 I get an error:

error: Cannot find module "../lib/binding/node_libcurl.node" from "/home/ubuntu/node_modules/node-libcurl/dist/Easy.js"

This was after using bun to install node-libcurl. Any ideas? Thanks

adarshmadrecha commented 1 year ago

As of now this library is not compatible with bun. Once #389 is implemented, you can try with bun.

JCMais commented 1 year ago

Non-nodejs runtimes are not supported at the moment. Closing this for now.

The issue to track here is https://github.com/JCMais/node-libcurl/issues/155