Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Outdated package.json file #8

Open
ltfschoen opened this issue Jun 20, 2023 · 2 comments
Open

Outdated package.json file #8

ltfschoen opened this issue Jun 20, 2023 · 2 comments

Comments

@ltfschoen
Copy link

ltfschoen commented Jun 20, 2023

  • After installing Node.js 18.6 LTS, when I ran npm install it output the following as the package.json file in this repo has outdated dependencies
root@ink:/app/dapps/evm/flipper# npm install
npm WARN deprecated [email protected]: testrpc has been renamed to ganache-cli, please use this package from now on.
npm ERR! code ECONNRESET
npm ERR! network aborted
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-06-20T04_24_15_857Z-debug-0.log
npm outdated
npm install -g npm-check-updates
ncu -u
npm update
  • Then I was able to install dependencies
npm install
@eshaben
Copy link
Contributor

eshaben commented Jul 3, 2023

hey there! so i'm not seeing the same errors with node 18.6 when i run npm install and i checked to see how outdated the packages are and there aren't any major version bumps to the packages for this repo, all just minor versions bumps:

 @openzeppelin/contracts      ^4.6.0  →   ^4.9.2
 @truffle/hdwallet-provider   ^2.0.8  →  ^2.1.12
 truffle                     ^5.5.13  →  ^5.10.2
 truffle-plugin-verify       ^0.5.25  →   ^0.6.4

i did a quick search and came across this issue that was opened a little while ago, but may still provide some insights into the error you're seeing: npm/npm#7945

  • are you on windows/linux/mac?
  • what version of npm are you using?
  • do you have truffle globally installed? if so, what version of truffle are you running?

@eshaben
Copy link
Contributor

eshaben commented Jul 3, 2023

I at the least submitted a PR to bump the packages to the latest versions. Thanks for bringing that up!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants