Hi everyone,
I’m trying to package this app time-to-leave/flatpak at flatpak · lcscosta/time-to-leave · GitHub . I followed the tutorial from Flatpak Documentation and looked for examples in Flathub, But I’m struggling with the offline installation of npm dependencies.
I was able to download all the dependencies from generated-sources.json, this json make sense, the flatpak-node/npm-cache contains the packages, but npm doesn’t recognize them.
Running flatpak-builder build app.timetoleave.time-to-leave.yml --install-deps-from=flathub --force-clean --user
I got this error:
npm error code ENOTCACHED
npm error request to https://registry.npmjs.org/argparse failed: cache mode is 'only-if-cached' but no cached response is available.
If anyone can help me, I would be very grateful.