mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
Stupid fix for npm
This commit is contained in:
parent
8ecb38ccfe
commit
22ef52fe9c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue