deezer icon indicating copy to clipboard operation
deezer copied to clipboard

Fix link out of package error

Open prahal opened this issue 2 years ago • 1 comments

install.sh error out with: /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.10" 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 process.processTicksAndRejections (node:internal/process/task_queues:95:5)

workaround it by removing this symlink before calling "asar pack app app.asar".

The upstream issue is not fixed yet: https://github.com/nodejs/node-gyp/issues/2713 "node_gyp_bins causes build failures in downstream packages"

prahal avatar Sep 23 '22 21:09 prahal

Hello, could you make a PR of this in my fork?

ghost avatar Oct 08 '22 19:10 ghost