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

Please consider adding FreeBSD support (pre-built packages) #320

Comments

@mike-pt
Copy link

mike-pt commented Oct 11, 2021

Currently there are no prebuild package for FreeBSD, some projects like code-server depend on node-Argon2 so it would be great.

@ranisalt
Copy link
Owner

I'm willing to accept a PR, but I have no knowledge over FreeBSD to do it

@mike-pt
Copy link
Author

mike-pt commented Oct 19, 2021

I tried to follow the README, not super familiar with building with node/npm but I' might be able to help wtith FreeBSD compatibility however I can't get past this:

$ CXX=clang npm install argon2
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "argon2" under a package
npm ERR! also called "argon2". Did you name your project the same
npm ERR! as the dependency you're installing?
npm ERR!
npm ERR! For more information, see:
npm ERR!     <https://docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm>

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/user/.npm/_logs/2021-10-19T12_20_08_217Z-debug.log

P.S. sorry if you got 2 notifications on this, I initially replied using my work account -.-'

Also I think I get it its probably just "npm install" no need for the name

@mike-pt
Copy link
Author

mike-pt commented Dec 30, 2021

Oh this is great, this is actually a dep in code.server, I will see if I can build it now using the new package.

Many thanks

@ranisalt
Copy link
Owner

There you go! Update to v0.29.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment