Skip to content

Error with python symlink #24

@samuelv8

Description

@samuelv8

I've got the following error when trying to run the install script on Ubuntu 20.04:

...
build/main.js 523ms
build/preload.js 90ms
build/renderer.js 58ms
build/service-worker.js 2ms
build/titlebar.js 34ms
patching file build/main.js
Hunk #1 succeeded at 505 (offset 2 lines).
Hunk #2 succeeded at 3081 (offset 2 lines).
patching file build/main.js
Hunk #1 succeeded at 3124 (offset 2 lines).
/usr/lib/node_modules/asar/lib/filesystem.js:101
      throw new Error(`${p}: file "${link}" links out of the package`)
            ^

Error: app/node_modules/abstract-socket/build/node_gyp_bins/python3: file "../../../../../usr/bin/python3.8" links out of the package
    at Filesystem.insertLink (/usr/lib/node_modules/asar/lib/filesystem.js:101:13)
    at handleFile (/usr/lib/node_modules/asar/lib/asar.js:132:20)
    at next (/usr/lib/node_modules/asar/lib/asar.js:148:11)
    at next (/usr/lib/node_modules/asar/lib/asar.js:149:12)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Successfully installed Deezer Desktop!

Looks like a error in node-gyp package (I have Python 2 and 3 versions installed). However, I remember installing correctly this same deezer app in the past (also on Ubuntu 20.04). Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions