NomicFoundation / hardhat-vscode

Solidity and Hardhat support for Visual Studio Code
https://hardhat.org
MIT License
163 stars 36 forks source link

Project initialization failure due to undefined variable in hardhat.config #505

Closed ZumZoom closed 1 year ago

ZumZoom commented 1 year ago

Project initialization fails with

Hardhat project 'test-project' was not able to initialize correctly: structuredClone is not defined

structuredClone was added in node 17.0.0 and the hardhat-vscode is probably using node version 16 hence the error.

Is there a way to change node version that hardhat-vscode uses?