Open kolloch opened 4 years ago
Interesting. Looks like tar
tries to unpack a directory that doesn't exist:
jitsi-meet> npm WARN tar ENOENT: no such file or directory, open '/build/source/node_modules/.staging/dropbox-7d59b16d/dist/DropboxTeam-sdk.min.d.ts'
can you try downloading the package tarball by hand and unpacking it?
Thank you for your super quick response!
Which tar ball?
❯ nix build -f default.nix -L
jitsi-meet> unpacking sources
jitsi-meet> unpacking source archive /nix/store/mv22mya4rxlz1xgi7a6mcv90cl8h27y0-source
...
❯ cd /nix/store/mv22mya4rxlz1xgi7a6mcv90cl8h27y0-source
❯ ls -la | head
total 10304
dr-xr-xr-x 19 root root 4096 Jan 1 1970 .
drwxrwxr-t 16843 root nixbld 9396224 Apr 28 11:44 ..
-r--r--r-- 1 root root 5927 Jan 1 1970 analytics-ga.js
dr-xr-xr-x 8 root root 4096 Jan 1 1970 android
-r--r--r-- 1 root root 1635 Jan 1 1970 app.js
-r--r--r-- 1 root root 18 Jan 1 1970 base.html
-r--r--r-- 1 root root 0 Jan 1 1970 body.html
-r--r--r-- 1 root root 114 Jan 1 1970 .buckconfig
-r--r--r-- 1 root root 324 Jan 1 1970 ConferenceEvents.js
Looks normal to me...
I should maybe mention that npm install
works for me outside of nix for this project.
I have tried to build jitsi-meet from source with napalm. I am only interested in the web parts but the repository also contains "react-native" code for iOS and Android.
Note that if I run
npm install
(0.12) outside of nix, there are no.staging
directories. But apparently, it is normal that npm first downloads new modules there.To reproduce: either check out napalm-jitsi-meet or follow these steps:
default.nix
:Execute
nix build -L