archlinuxcn / repo

Arch Linux CN Repository
1.51k stars 291 forks source link

Fail to launch Bitwarden #1393

Closed floating-cat closed 4 years ago

floating-cat commented 4 years ago

问题类型 / Type of issues

受影响的软件包 / Affected packages

请在此补充说明。 Please describe in detail here.

I can't open Bitwarden. This is the error message I see when I try to open Bitwarden in the terminal:

App threw an error during load
Error: The module '/tmp/.org.chromium.Chromium.CPWVNw'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 70. This version of Node.js requires
NODE_MODULE_VERSION 75. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at process.func (electron/js2c/asar.js:140:31)
    at process.func [as dlopen] (electron/js2c/asar.js:140:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:922:18)
    at Object.func (electron/js2c/asar.js:140:31)
    at Object.func [as .node] (electron/js2c/asar.js:149:18)
    at Module.load (internal/modules/cjs/loader.js:735:32)
    at Module._load (internal/modules/cjs/loader.js:648:12)
    at Module._load (electron/js2c/asar.js:717:26)
    at Function.Module._load (electron/js2c/asar.js:717:26)
    at Module.require (internal/modules/cjs/loader.js:775:19)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: The module '/tmp/.org.chromium.Chromium.CPWVNw'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 70. This version of Node.js requires
NODE_MODULE_VERSION 75. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at process.func (electron/js2c/asar.js:140:31)
    at process.func [as dlopen] (electron/js2c/asar.js:140:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:922:18)
    at Object.func (electron/js2c/asar.js:140:31)
    at Object.func [as .node] (electron/js2c/asar.js:149:18)
    at Module.load (internal/modules/cjs/loader.js:735:32)
    at Module._load (internal/modules/cjs/loader.js:648:12)
    at Module._load (electron/js2c/asar.js:717:26)
    at Function.Module._load (electron/js2c/asar.js:717:26)
    at Module.require (internal/modules/cjs/loader.js:775:19)
ghost commented 4 years ago

According to the comment: https://aur.archlinux.org/packages/bitwarden/#comment-715637

This package has been "rebuild" using @lilacbot: https://github.com/archlinuxcn/repo/commit/d0cc0ef1c955d39dca30b5ff5d3b81c1b2c7d715

lilydjwg commented 4 years ago

@dctxmei you should @lilacbot instead.

ghost commented 4 years ago

@dctxmei you should @lilacbot instead.

Thanks for correcting, has changed.

ghost commented 4 years ago

@floating-cat There were some problems when compiling the package, I was trying to fix it, but for some external factors, it might take 2-3 days.

ghost commented 4 years ago

There were some errors when compiling with @lilacbot, and I have already manually pushed the package.

floating-cat commented 4 years ago

I still can't launch Bitwarden after pacman -Syyu and reinstalling Bitwarden. The error message is also the same.