moonbeam-foundation / moonbeam-truffle-box

Moonbeam Truffle Box
MIT License
14 stars 6 forks source link

Outdated package.json file #8

Open ltfschoen opened 1 year ago

ltfschoen commented 1 year ago

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


* To fix it I had to run the following to update all dependencies in package.json to new major version. I think this command should be used in this repo, or use https://github.com/dependabot/dependabot-core
```bash
npm outdated
npm install -g npm-check-updates
ncu -u
npm update
eshaben commented 1 year ago

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: https://github.com/npm/npm/issues/7945

eshaben commented 1 year ago

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