Skip to content
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

Lens cannot start on Win 11 due to missing npm package #8116

Open
andreapicaro opened this issue Nov 4, 2024 · 2 comments
Open

Lens cannot start on Win 11 due to missing npm package #8116

andreapicaro opened this issue Nov 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@andreapicaro
Copy link

Describe the bug
Hello, lens cannot start on win 11 due to some npm package issue.

Environment (please complete the following information):

  • Lens Version: 2024.10.171859
  • OS: Win 11
  • Official installer

Logs:

Error: ENOENT: no such file or directory, open 'C:\Users\Andrea Picaro\AppData\Local\Programs\Lens\resources\app.asar.unpacked\node_modules\@lensapp\oci-image-lens-extension\package.json'
    at Object.readFileSync (node:fs:448:20)
    at t.readFileSync (node:electron/js2c/node_init:2:10245)
    at u.internalModuleReadJSON (node:electron/js2c/node_init:2:14504)
    at read (node:internal/modules/package_json_reader:56:25)
    at readPackage (node:internal/modules/package_json_reader:141:10)
    at resolveExports (node:internal/modules/cjs/loader:637:15)
    at Module._findPath (node:internal/modules/cjs/loader:731:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1218:27)
    at s._resolveFilename (node:electron/js2c/browser_init:2:121498)
    at Module._load (node:internal/modules/cjs/loader:1058:27) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\Users\\Andrea Picaro\\AppData\\Local\\Programs\\Lens\\resources\\app.asar.unpacked\\node_modules\\@lensapp\\oci-image-lens-extension\\package.json'
}
@andreapicaro andreapicaro added the bug Something isn't working label Nov 4, 2024
@clrothmann
Copy link

Hello @andreapicaro, thanks for reaching out to us!
I would recommend that the you fully uninstall the application (including removing C:\Users<username>\AppData\Local\Programs\Lens) and then reinstall it using the installer. In the meantime, we are working to identify the root cause and will provide a solution as soon as possible.
Please let us know if it worked.

@andreapicaro
Copy link
Author

Hi, it worked.
I already tried to reinstall previously. The difference seems to be the deletion of app folder. But, strange enough the folder was empty.
Anyway, thanks for helping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants