Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Next.js, node.js 16 TypeError: Cannot set property Request of #<Object> which has only a getter #5601

@NishantPacharne

Description

@NishantPacharne

This is not a Bug Report, Feature Request, or related to Documentation

  • I have searched the existing issues

Is there an existing issue for this?

  • I have searched the existing issues

What's up?

Iam using next js and as soon as I put 'let Web3 = require('web3');'

I get these errors :-
TypeError: Cannot set property Request of # which has only a getter
This error happened while generating the page. Any console logs will be displayed in the terminal window.

Examples/References

No response

Metadata

Metadata

Assignees

Labels

1.x1.0 related issuesBugAddressing a bugDiscussion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions