scaffold-eth-challenges
scaffold-eth-challenges copied to clipboard
Challenge 2 - node module import errors
Problem
The vscode settings file is pointing to the wrong directory for the solidity node modules, right now it is "solidity.packageDefaultDependenciesDirectory": "packages/hardhat-ts/node_modules"
. The problem here is that the hardhat-ts
folder does not exist.
Possible Solution
change "solidity.packageDefaultDependenciesDirectory": "packages/hardhat-ts/node_modules"
to "solidity.packageDefaultDependenciesDirectory": "packages/hardhat/node_modules"