Skip to content

Conversation

@sudo-owen
Copy link

Adds button to remove contract ABIs from local storage

@vercel
Copy link

vercel bot commented Jul 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
eth95 ❌ Failed (Inspect) Jul 3, 2025 5:36pm

@sudo-owen
Copy link
Author

Weird...any idea why the build failed?

@adrianmcli
Copy link
Owner

adrianmcli commented Jul 3, 2025

@sudo-owen I think the issue is that Vercel no longer supports using Node 16. But newer versions of Node doesn't work with the parcel-bundler library, which is from an old version of Parcel.

From the build logs:

Error: Found invalid Node.js Version: "16". Please set "engines": { "node": "18.x" } in your `package.json` file to use Node.js 18.

But if you set it to 18 or above, it fails to build dependencies.

For reference, the code currently uses Parcel v1's bundler.middleware() to serve your app dynamically via Express and do HMR etc. Parcel v2 doesn't offer this, but maybe we don't need to do that. I don't think many people actually use this in dev anyway (I think)?

I'm a little too busy to look into this right now, but if you have the time maybe you can look into how we can upgrade the code to work on newer versions of Node (I think 22 or 24 would be ideal). I'd be happy to accept that PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants