-
Notifications
You must be signed in to change notification settings - Fork 73
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
[Closing soon] Webpack Issues #20
Comments
Can also confirm that these errors occur when bundling. |
@anthonyra Were you able to fix this issue? |
Hey @anthonyra can you try if this version works for you?
Also with this update you don't need to do |
I am seeing this issue, I was just trying to migrate from v1 to v2 in a next.js app, using v2.1.96:
|
I am seeing the same issue @mattcasey in my nextjs app with lit-node-client version 2.1.123 I tried to downgrade to version 2.1.55, but then I got a missing web3modal standalone error Any tips on how I can solve it? |
@math77 we are just sticking with the original SDK, "lit-js-sdk" until this is resolved, so I don't have any suggestions, sorry. |
We are also running into the same issue when trying to upgrade. Downgrading isn't a solution as it's requesting the missing @web3modal/standalone, which then gives us a missing "react-native" dependency. |
@DorianWilhelm @mattcasey @math77 Apologies for the delay. I've tested the latest version and it appears to be working. Could you both please try version 2.1.156 and let me know how it works for you? |
@Ansonhkg it seems to be working now, at least I didn't get errors when running the app as I got before. I will do a complete test trying to use the sdk |
@Ansonhkg updating to 2.1.158 works for me 👍 |
**Before reporting, I have already ***
Describe the bug
Using
create-react-app
and building with thejs-sdk
I'm running into some errors.crypto
andstream
withcrypto-browserify
andstream-browserify
ecsda-sdk
To Reproduce
Steps to reproduce the behavior:
npx create-react-app my-app
npm start
to"GENERATE_SOURCEMAP=false react-scripts start"
inpackage.json
node_modules/react-scripts/configs/webpack.config.js
line 305npm install crypto-browserify stream-browserify
Expected behavior
Hopefully no warnings 😅
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Additional info
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: