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 not find openssl #1

Closed
oh2gqc opened this issue Apr 29, 2022 · 2 comments
Closed

Can not find openssl #1

oh2gqc opened this issue Apr 29, 2022 · 2 comments

Comments

@oh2gqc
Copy link

oh2gqc commented Apr 29, 2022

pictoprime throws error:
if (!await commandExists('openssl').then(() => true).catch(() => false)) throw new Error('You must have openssl in your path for this program to work.')

However openssl is in my path:
$ which openssl
/usr/bin/openssl

$ echo $PATH
/home/karza/julia-1.7.1/bin:/home/karza/.cargo/bin:/home/karza/.local/bin:/home/karza/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Running on XUbuntu 18.04.6 LTS

@tobyink
Copy link

tobyink commented Apr 29, 2022

I encountered this too.

What version of node.js do you have installed? Using await outside async functions (which this project does a few times) requires node.js 14.8.0 or above.

node -v

@oh2gqc
Copy link
Author

oh2gqc commented Apr 29, 2022

Hi,

Seems that I had a very old version on node ( 12. something )
Updated node and now pictoprime works.
Thanks you for your help tobyink!

@oh2gqc oh2gqc closed this as completed Apr 29, 2022
@TotalTechGeek TotalTechGeek pinned this issue Apr 29, 2022
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