FS#67723 - [bash-language-server] Broken acorn binary symlinks

Attached to Project: Community Packages
Opened by Rose Kunkel (rosekunkel) - Wednesday, 26 August 2020, 03:03 GMT
Last edited by Maxim Baz (maximbaz) - Thursday, 27 August 2020, 21:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Maxim Baz (maximbaz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The node_modules subdirectory for acorn is removed when the package is built, but it leaves several broken symlinks to the acorn binary:

/usr/lib/bash-language-server/node_modules/acorn-globals/node_modules/.bin/acorn
/usr/lib/bash-language-server/node_modules/jsdom/node_modules/.bin/acorn
/usr/lib/bash-language-server/node_modules/.bin/acorn

These three symlinks expect an acorn binary to exist at

/usr/lib/bash-language-server/node_modules/acorn/bin/acorn

This could be fixed by creating that file as a symlink to /usr/bin/acorn.

Additional info:

This affects all recent versions of bash-language-server
This task depends upon

Closed by  Maxim Baz (maximbaz)
Thursday, 27 August 2020, 21:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  Sure, fixed, thanks

Loading...