Skip to content

[Bug]: Can't compile with latest "walletconnect" 2.3.0 #1558

@mario-iliev

Description

@mario-iliev

Current Behavior

After updating the "walletconnect" package to version 2.3.0 I receive this error and React app can't start.

Compiled with problems:X

ERROR in ./node_modules/@web3-onboard/walletconnect/dist/index.js 1:0-22

Module not found: Error: Can't resolve './v1' in '/Users/xxx/project/node_modules/@web3-onboard/walletconnect/dist'
Did you mean 'v1.js'?
BREAKING CHANGE: The request './v1' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

### Expected Behavior

_No response_

### Steps To Reproduce

_No response_

### What package is effected by this issue?

@web3-onboard/walletconnect

### Is this a build or a runtime issue?

Build, Runtime

### Package Version

2.15.4

### Node Version

_No response_

### What browsers are you seeing the problem on?

_No response_

### Relevant log output

_No response_

### Anything else?

_No response_

### Sanity Check

- [X] If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a [Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example).

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions