Comments (10)
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.
@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.
@Ansonhkg updating to 2.1.158 works for me 👍
from js-sdk.
Can also confirm that these errors occur when bundling.
from js-sdk.
@anthonyra Were you able to fix this issue?
from js-sdk.
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.
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.
@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.
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.
@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)
- I sighted a typographical error in the "What is Lit" section of the documentation. HOT 2
- process not defined in node_modules/util/util.js HOT 1
- ipfs-http-client is deprecated HOT 3
- Error with humanizeAccessControlConditions() when using ERC20 tokens HOT 1
- The signature problem on Integrating with Ceramic HOT 1
- EIP-1271 Authsig failed 401 but the contract return 0x1626ba7e HOT 1
- Request for SPA-Friendly OAuth Redirection Mechanism in lit-auth-client HOT 5
- there is a guide to contribute? HOT 1
- Breaks at decrypt - parsing SIWE message HOT 3
- Create New Logging level uitlities HOT 5
- Add new `e2e` tests for lit action api HOT 2
- Yarn Upgrade Needed HOT 4
- Errors with the React sample app HOT 5
- Cayenne is evaluating Sepolia access conditions based on data from the Ethereum mainnet. HOT 1
- Wrong version of `multiformats` package breaking `@lit-protocol/contracts-sdk` HOT 4
- Module not found error in browser
- Cannot find module './fetch.node' HOT 8
- File uses global instead of globalThis HOT 2
- No known conditions for "./cid" specifier in "multiformats" package HOT 3
- Getting Timeout error from Lit Node Client while generating sessions HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-sdk.