[DRE-maint] Bug#894072: gitlab: postinst fails with "/var/lib/gitlab/yarn/node_modules/.bin/yarn: not found"

Pirate Praveen praveen at debian.org
Mon Mar 26 10:04:46 UTC 2018


On Mon, 26 Mar 2018 17:29:58 +1100 Dmitry Smirnov <onlyjob at debian.org>
wrote:> Installation of GitLab failed in postinst as follows:
> 
> ~~~~
> Installing node modules...
> npm WARN package.json compression-webpack-plugin at 0.3.2 No license field.
> npm WARN package.json dropzone at 4.3.0 No license field.
> npm WARN package.json jszip-utils at 0.0.2 license should be a valid SPDX
> license expression
> npm WARN package.json select2 at 3.5.2-browserify No license field.
> yarn at 1.5.1 ../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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20180326/aae2cb39/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list