Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widgets integration doesn't work #632

Open
bullishgopher opened this issue May 14, 2024 · 7 comments
Open

Widgets integration doesn't work #632

bullishgopher opened this issue May 14, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@bullishgopher
Copy link

Bug Description
I tried to install widgets on my fresh new nextjs application but it didn't work. Screenshot is attached below

Steps to Reproduce

  1. Install a fresh new nextjs application
  2. Install @uniswap/widgets and react-redux as described in docs
  3. Add component
  4. Got the error

Expected Behavior
A clear and concise description of what you expected to happen.

Additional Context

image
@arunkumar201
Copy link

add
"browser": {
"fs": false
}
in package.json
this issue will be fixed but later on you might end up of getting same #631 issue

@bullishgopher
Copy link
Author

Thanks @arunkumar201

After fixing "fs" error, I am having another issue:

Error: Cannot find module '/Users/development/uniswap_dex/nextjs/with-tailwindcss-app/node_modules/.pnpm/@uniswap+widgets@2.59.0_@babel+runtime@7.24.5_@ethersproject+abi@5.7.0_@ethersproject+bignumb_6jidksm52dmfxa3dckdqei34ru/node_modules/@uniswap/conedison/dist/provider/signing'
image

@arunkumar201
Copy link

follow -
https://github.com/arunkumar201/uniswap-widget-nextjs

@bullishgopher
Copy link
Author

Thanks @arunkumar201 but you still get error right?

@arunkumar201
Copy link

No

@arunkumar201
Copy link

I've utilized a fork of the Uniswap widget, although it may not receive updates in the future.

@bullishgopher
Copy link
Author

I've utilized a fork of the Uniswap widget, although it may not receive updates in the future.

It worked. Thank you @arunkumar201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants