Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

1.3K
Vistas
Error HH604: Error running JSON-RPC server: error:0308010C:digital envelope routines::unsupported

I am setting up hardhat in Linux. I have set up the react app first using these commands.

npx create-react-app react-dapp

cd react-dapp 

Then I have installed some hardhat dependencies using this command.

npm install ethers hardhat @nomiclabs/hardhat-waffle \
        ethereum-waffle chai \
        @nomiclabs/hardhat-ether

This all done correctly. Then I have created the hardhat configs and setup.

npx hardhat 

Then I have edited the hardhat.config.js file. I have places this.

module.exports = {
solidity: "0.8.4",
paths: {                         
   artifacts: './src/artifacts',  
},
networks: {                 
  hardhat: {
   chainId: 1337                
 }

} }; After that I have created the node.

npx hardhat node 

I got this error:

Error HH604: Error running JSON-RPC server: error:0308010C:digital envelope routines::unsupported

over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

Had the same problem. Using Node 17.x and it has an updated openssl that is a a breaking change.

This worked for me because I'm using yarn.

export NODE_OPTIONS=--openssl-legacy-provider

You could also try just using the --openssl-legacy-provider switch on node.

over 4 years ago · Santiago Trujillo Denunciar

0

I was able to solve the problem using lts node version using nvm.

nvm install --lts
nvm use --lts
over 4 years ago · Santiago Trujillo Denunciar

0

I ran into this exact problem just now, however since I have nvm, my cheap work around is to used node v16 for now.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda