-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
A JavaScript error occurred in the main process(help me #8107
Comments
the same issue on my screen |
bro,how to fix this problem,do you have other suitable version ? |
ok,i had fixed this err, just give the enough authority (sudo chmod 777 /Users/xxx), try create the dictory by yourself(mkdir -p /Users/xxx/.k8slens) ,and (chmod 755 /Users/xxx/.k8slens), then restart the app, that's ok !!! |
Thank you all for your feedback. We are aware of this issue, and it will be addressed in an upcoming patch release. @theCatBoyL's workaround perfectly outlines the root cause, and in the meantime, you can use it as a temporary solution until the fix is available. We appreciate your patience! |
it’s my honor, i love the app! |
Alternatively, you can use the following command for the terminal: |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Uncaught Exception:
Error: listen EACCES: permission denied /Users/climber/.k8slens/cli.sock
at Server.setupListenHandle [as _listen2] (node:net:1882:21)
at listenInCluster (node:net:1961:12)
at Server.listen (node:net:2080:5)
at /Applications/Lens 2.app/Contents/Resources/app.asar/node_modules/@hapi/hapi/lib/core.js:336:31
at new Promise ()
at module.exports.internals.Core._listen (/Applications/Lens 2.app/Contents/Resources/app.asar/node_modules/@hapi/hapi/lib/core.js:313:16)
at module.exports.internals.Core._start (/Applications/Lens 2.app/Contents/Resources/app.asar/node_modules/@hapi/hapi/lib/core.js:287:24)
at async run (/Applications/Lens 2.app/Contents/Resources/app.asar/node_modules/@lensapp/cli-lens-extension/dist/main.js:317:17)
at async instantiate (/Applications/Lens 2.app/Contents/Resources/app.asar/node_modules/@lensapp/run-many/dist/index.js:131:5)
at async Promise.all (index 6)
Environment (please complete the following information):
Electron: 31.6.0
Chrome: 126.0.6478.234
Node: 20.17.0
© 2024 Mirantis, Inc.
The text was updated successfully, but these errors were encountered: