Stupid fix for npm

This commit is contained in:
Alexandre Aubin 2020-08-31 14:24:03 +00:00
parent 8ecb38ccfe
commit 22ef52fe9c

View file

@ -38,6 +38,10 @@ function build_chroot()
then
# This is for building yunohost-admin
chroot $CHROOT apt install -y npm nodejs
# Don't ask me why, but stupid nodejs wants to look for stuff inside /lib instead of /usr/lib ...
# This only happens when building those chroot ... I don't know why ...
chroot $CHROOT ln -s /usr/lib/nodejs /lib/nodejs
chroot $CHROOT npm install -g npm
fi
chroot $CHROOT apt clean