Error "openssl config failed: error:02001002:system library"

Hi,
today rurring the app with “ionic serve” I can see this error:

C:\myapp>ionic serve -lcs
openssl config failed: error:02001002:system library:fopen:No such file or directory
> ng.cmd run app:serve --host=localhost --port=8100
[ng] openssl config failed: error:02001002:system library:fopen:No such file or directory
[ng] openssl config failed: error:02001002:system library:fopen:No such file or directory
[INFO] Waiting for connectivity with ng...
[INFO] Waiting for connectivity with ng...
> ionic-lab.cmd http://localhost:8100 --host localhost --port 8200 --project-type angular --app-name Bitsharing --app-version 01.00.00

The app starts the same and I can use it, but I don’t understand that error.
Did you know which could be the problem?

Thank you

cld

While you wait for better answers, I suspect the problem lies in your environment. On UNIX, one would run printenv to display all the environment variables. I have no idea what the equivalent is on Windows, but I assume there is one.

1 Like

Hi, thank you for your answer.
It is very strange today the problem has disappeared.

C:\myapp>ionic serve -lcs
> ng.cmd run app:serve --host=localhost --port=8100
[INFO] Waiting for connectivity with ng...
[INFO] Waiting for connectivity with ng...

I really don’t know what has changed in the meantime.

Claudio