-
when i was setting up hardhat and ran I got the following errors: npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN deprecated ganache-core@2.13.2: ganache-core
is now ganache; visit https://trfl.io/g7 for details
npm WARN deprecated ganache-core@2.13.2: ganache-core
is now ganache; visit https://trfl.io/g7 for details
npm notice Beginning October 4, 2021, all connections
to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub
blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm WARN deprecated testrpc@0.0.1: testrpc has been renamed to ganache-cli, please use this package from now on.
npm notice Beginning October 4, 2021, all connections
to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub
blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm WARN deprecated har-validator@5.1.5: this library
is no longer supported
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @ensdomains/ens@0.4.5: Please use
@ensdomains/ens-contracts
npm WARN deprecated @ensdomains/resolver@0.2.4: Please use @ensdomains/ens-contracts I've updated node and npm, still having same issues |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@Avelous there are typo mistakes, like this one |
Beta Was this translation helpful? Give feedback.
-
Resolved!! Cannot read properties of null (reading 'pickAlgorithm') I cleared the cache using |
Beta Was this translation helpful? Give feedback.
Resolved!!
I checked and the actual error was
I cleared the cache using
npm cache clear --force
and i was able to install the dependencies. Apparently, I didn't state the exact error in my question.