I am trying to run an npm
command on my deployed app by connecting to VM using flyctl ssh console
and then navigating to app/
and running npm run seed
. This gives me the following error (even though I’ve specified node version in Dockerfile
)
Volta error: Could not download node@18.10.0
from https://nodejs.org/dist/v18.10.0/node-v18.10.0-linux-x64.tar.gz
Please verify your internet connection and ensure the correct version is specified.
Error details written to /.volta/log/volta-error-2023-02-01_15_49_34.852.log
And when I look inside error log, I get this:
Error cause: Io Error: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
Does anyone have any ideas what could be causing this?