On Mon, 26 Mar 2018 17:29:58 +1100 Dmitry Smirnov <[email protected]>
wrote:> Installation of GitLab failed in postinst as follows:
> 
> ~~~~
> Installing node modules...
> npm WARN package.json [email protected] No license field.
> npm WARN package.json [email protected] No license field.
> npm WARN package.json [email protected] license should be a valid SPDX
> license expression
> npm WARN package.json [email protected] No license field.
> [email protected] ../node_modules/yarn
> sh: 1: /var/lib/gitlab/yarn/node_modules/.bin/yarn: not found
> dpkg: error processing package gitlab (--configure):
>  subprocess installed post-installation script returned error exit
> status 127
> ~~~~
> 
> 

I did a purge and reinstall but could not reproduce this error.

Can you try if manually installing yarn works? See
https://salsa.debian.org/ruby-team/gitlab/blob/debian/10.5.5+dfsg-3/debian/rake-tasks.sh#L34

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to