Code Monkey home page Code Monkey logo

Comments (10)

Ansonhkg avatar Ansonhkg commented on June 2, 2024 1

Hey @anthonyra can you try if this version works for you?

yarn add @lit-protocol/[email protected]

Also with this update you don't need to do npm install crypto-browserify stream-browserify anymore, but GENERATE_SOURCEMAP=false react-scripts start still needed

from js-sdk.

math77 avatar math77 commented on June 2, 2024 1

@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

from js-sdk.

DorianWilhelm avatar DorianWilhelm commented on June 2, 2024 1

@Ansonhkg updating to 2.1.158 works for me 👍

from js-sdk.

joshLong145 avatar joshLong145 commented on June 2, 2024

Can also confirm that these errors occur when bundling.

from js-sdk.

AireshBhat avatar AireshBhat commented on June 2, 2024

@anthonyra Were you able to fix this issue?

from js-sdk.

mattcasey avatar mattcasey commented on June 2, 2024

I am seeing this issue, I was just trying to migrate from v1 to v2 in a next.js app, using v2.1.96:

warn  - ./node_modules/@lit-protocol/ecdsa-sdk/src/lib/ecdsa-sdk.js
Critical dependency: the request of a dependency is an expression

Import trace for requested module:
./node_modules/@lit-protocol/ecdsa-sdk/src/lib/ecdsa-sdk.js
./node_modules/@lit-protocol/ecdsa-sdk/src/index.js
./node_modules/@lit-protocol/crypto/src/lib/crypto.js
./node_modules/@lit-protocol/crypto/src/index.js
./node_modules/@lit-protocol/lit-node-client-nodejs/src/lib/lit-node-client-nodejs.js
./node_modules/@lit-protocol/lit-node-client-nodejs/src/index.js
./node_modules/@lit-protocol/lit-node-client/src/index.js
./adapters/litProtocol/hooks/useLitProtocol.tsx

from js-sdk.

math77 avatar math77 commented on June 2, 2024

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?

from js-sdk.

mattcasey avatar mattcasey commented on June 2, 2024

@math77 we are just sticking with the original SDK, "lit-js-sdk" until this is resolved, so I don't have any suggestions, sorry.

from js-sdk.

DorianWilhelm avatar DorianWilhelm commented on June 2, 2024

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.
Any other workarounds available for now?

from js-sdk.

Ansonhkg avatar Ansonhkg commented on June 2, 2024

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

from js-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.