Skip to content

error while loading shared libraries: libnss3.so #11

@lakano

Description

@lakano

Hi !
Thank you for this amazing project :-)

I've tried to clone the repo and run the install command, but I got this error :

guillaume@dev ~/Téléchargements/Redmi/droidian-installer (master) $ npm install
Starting container...                   	 [ OK ]
Installing basic packages...            	 [ OK ]
Setting up devpts mounts...             	 [ OK ]
Setting up read-only mounts...          	 [ OK ]
Setting up read-write mounts...         	 [ OK ]
Setting up host's sockets integration...	 [ OK ]
Integrating host's themes, icons, fonts...	 [ OK ]
Setting up distrobox profile...         	 [ OK ]
Setting up sudo...                      	 [ OK ]
Setting up user's group list...         	 [ OK ]

Container Setup Complete!
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated @types/keyv@4.2.0: This is a stub types definition. keyv provides its own type definitions, so you do not need this installed.
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained

added 835 packages, and audited 836 packages in 12s

80 packages are looking for funding
  run `npm fund` for details

18 vulnerabilities (9 moderate, 9 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm notice 
npm notice New major version of npm available! 10.5.2 -> 11.1.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.1.0
npm notice Run npm install -g npm@11.1.0 to update!
npm notice 
                                                                                                                                                                                                               ➤ 0 | 08:33:20
 guillaume@dev ~/Téléchargements/Redmi/droidian-installer (master) $ npm start -- -h

> droidian-installer@0.0.6 start
> ./start.sh -h

rollup v3.17.3
bundles src/svelte.mjs → public/build/bundle.js...
LiveReload enabled
(!) Plugin svelte: A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
node_modules/sveltestrap/src/Modal.svelte
225:     <div class={wrapClassName} tabindex="-1" {...$$restProps}>
226:       {#if isOpen}
227:         <div
             ^
228:           in:modalIn
229:           out:modalOut
created public/build/bundle.js in 3.2s

[2025-02-08 08:34:20] waiting for changes...
/home/guillaume/Téléchargements/Redmi/droidian-installer/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
TypeError: The "code" argument must be of type number. Received an instance of ReferenceError
    at process.set [as exitCode] (node:internal/bootstrap/node:123:9)
    at process.exit (node:internal/process/per_thread:180:24)
    at process.close (/home/guillaume/Téléchargements/Redmi/droidian-installer/node_modules/rollup/dist/shared/watch-cli.js:518:23)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Seems to be related to Electron that cannot get the OpenSSL libraries, my system uses openssl 3.4.0-1

BTW I'm on Arch Linux with Gnome / Wayand.

Any help will be appreciated :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions