openssl config failed: error:02001003:system library:fopen:No such process in Appcelerator studio
Asked Answered
A

5

10

I'm getting this error in appcelerator studio:

openssl config failed: error:02001003:system library:fopen:No such process

I could not find anyone with the same problem so far.

Anabantid answered 12/10, 2018 at 21:56 Comment(1)
Possible duplicate of Error starting nodejs: openssl config failedPhilology
I
12

Tried a few suggestions from the npm repository issues:

  1. Remove environment variable OPENSSL_CONF using command
set OPENSSL_CONF=

This works but after restarting the computer the error is back again.

  1. Removed OPENSSL_CONF from Environment Variables

Go to the Windows Environment Variables and remove OPENSSL_CONF from the System variables. Save it and restart the editor and it works like a charm.

enter image description here

Inequitable answered 22/4, 2019 at 5:20 Comment(2)
Yes removing the OPENSSL_CONF environment variable and relaunching the cmd made the trick for me.Gotland
Removed OPENSSL_CONF from Environment Variables did the trick for me. Installing PostgreSQL somehow set this env for me.Lacylad
U
0

It looks like a NPM error with OpenSSL according to this SO question: https://mcmap.net/q/1164897/-error-starting-nodejs-openssl-config-failed or the included GitHub link (https://github.com/npm/npm/issues/17261)

Ulyanovsk answered 12/10, 2018 at 22:16 Comment(0)
K
0

I had the same issue , you should install open ssl :

openssl

Kilowatthour answered 30/10, 2022 at 10:7 Comment(0)
E
0

I fixed this issue with these steps, should try once:

  1. In C disk, create OpenSSL/bin/openssl.cnf

  2. In example config file here, you can copy and paste to openssl.cnf file

  3. Now open command prompt in administrator mode. Now set system variable of openssl to OpenSSL/bin/openssl.cnf by this script: setx /m OPENSSL_CONF "C:\OpenSSL\bin\openssl.cnf"

  4. It should show SUCCESS: Specified value was saved. in windows.

  5. Now open "system environment variables" program -> Environment Variables

  6. It should show this. Or you can edit the OPENSSL_CONF value to C:\OpenSSL\bin\openssl.cnf by manual

  7. After all above steps, close all programs and try again with npm commands. It should have fixed. ;)

Epiphenomenon answered 26/4, 2023 at 19:28 Comment(0)
B
0

For Linux, run echo "$OPENSSL_CONF" to see what you have that environment variable set to. If it is set to something, try unset OPENSSL_CONF to unset it. You may have it set to something in your ~/.bashrc file, ~/.profile file, or ~/.bash_aliases file which is causing it to get set again each time you reboot or open a new shell.

Barrybarrymore answered 11/5, 2023 at 6:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.