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

Closed
xgracias opened this issue May 14, 2024 · 8 comments
Closed

Widgets integration doesn't work #632

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

Comments

@xgracias
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

@xgracias
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/@[email protected]_@[email protected]_@[email protected]_@ethersproject+bignumb_6jidksm52dmfxa3dckdqei34ru/node_modules/@uniswap/conedison/dist/provider/signing'
image

@arunkumar201
Copy link

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

@xgracias
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.

@xgracias
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

@xgracias
Copy link
Author

closes #632

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