Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build lib in Debian 9 #376

Closed
obriankevin11 opened this issue Dec 8, 2022 · 2 comments
Closed

Can't build lib in Debian 9 #376

obriankevin11 opened this issue Dec 8, 2022 · 2 comments

Comments

@obriankevin11
Copy link

Hi,
I'm having troubles to use the lib in my node project on Debian 9 (which runs ok on windows).
I have the following error msg: Error: Cannot find module '../lib/binding/node_libcurl.node'

node: 16.13.1
npm: 8.1.2

So I'm trying to build it but can't figure things out. I have all the requirements:
gcc >= 4.8
libcurl dev files
python 2.7

I tried "npm install node-libcurl --build-from-source" but it just installs the prebuilt package.
Any idea (of what I'm doing wrong :))?
Thank you.

@obriankevin11 obriankevin11 changed the title Can''t build lib in Debian 9 Can't build lib in Debian 9 Dec 8, 2022
@JCMais
Copy link
Owner

JCMais commented Dec 15, 2022

You need Python 3.0 to build the newer version of node-libcurl. I forgot to update the README with the changes. Take a look on the CHANGELOG for the most recent requirements.

@obriankevin11
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants