Skip to content

Unable to resolve module ./kernel/createKernelAccount.js #205

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

Open
ankerx opened this issue Jan 24, 2025 · 3 comments
Open

Unable to resolve module ./kernel/createKernelAccount.js #205

ankerx opened this issue Jan 24, 2025 · 3 comments

Comments

@ankerx
Copy link

ankerx commented Jan 24, 2025

Hi, after updating sdk to version 5.4 and running the code from docs I got error:

Error: undefined Unable to resolve module ./kernel/createKernelAccount.js 
None of these files exist:
  
node_modules/@zerodev/sdk/accounts/kernel/createKernelAccount.js(.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.mjs|.native.mjs|.mjs|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.cjs|.native.cjs|.cjs|.ios.scss|.native.scss|.scss|.ios.sass|.native.sass|.sass|.ios.css|.native.css|.css)
node_modules/@zerodev/sdk/accounts/kernel/createKernelAccount.js
@rockorama
Copy link

Same here. Any resolution?

@minhchienwikipedia
Copy link

I'm got another error but seems the same issue
error: Error: Unable to resolve module ./account-client/changeSudoValidator.js from /node_modules/@zerodev/sdk/actions/index.ts:

@minhchienwikipedia
Copy link

I just created a patch file to fix it and it works as well. You can run this file with version 5.4.26 with patch-package
https://gist.github.com/minhchienwikipedia/bd2d38fd01e55386e25c4d1461946166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants