You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I own the repository https://github.com/aunetx/deezer-linux, and try to (re)-build my package.
Nearly nothing has changed since last build, but I now get an error from flatpak builder when using make export_flatpak:
========================================================================Buildingmoduledeezerin/home/aunetx/Projets/deezer-linux/flatpak/flatpak-builder/build/deezer-2========================================================================Running: npminstall--offlinenpminfoitworkedifitendswithoknpminfousingnpm@6.14.15npminfousingnode@v14.18.1npminfolifecycledeezer-desktop@5.30.100~preinstall: deezer-desktop@5.30.100npmtiming stage:loadCurrentTreeCompletedin632msnpmtiming stage:loadIdealTree:cloneCurrentTreeCompletedin10msnpmWARNread-shrinkwrapThisversionofnpmiscompatiblewithlockfileVersion@1,butpackage-lock.jsonwasgeneratedforlockfileVersion@2.I'll try to do my best with it!
npm timing stage:loadIdealTree:loadShrinkwrapCompletedin1304msnpmtiming stage:rollbackFailedOptionalCompletedin0msnpmtiming stage:runTopLevelLifecyclesCompletedin2486msnpmERR!codeENOTCACHEDnpmERR!requesttohttps://registry.npmjs.org/@types%2fsemverfailed: cachemodeis 'only-if-cached' but no cached response available.
npmtimingnpmCompletedin4294msnpmERR!Acompletelogofthisruncanbefoundin:
npmERR!/run/build/deezer/flatpak-node/npm-cache/_logs/2021-11-15T12_49_52_782Z-debug.log
Error: module deezer: Leprocessusfilss’estterminéaveclecode1make: ***[Makefile:52 : export_flatpak]Erreur1
It looks like some packages are not cached correctly anymore (@types/semver here, but I don't know if it is the only one since I can't get past it).
I don't know what causes it, it is really pretty hard to get a lot of informations to fix this (especially since the app is extracted from an asar source, the package.json file is changed to include electron and electron-builder, and then it is rebuilt using flatpak... so all I know is that the package is not cached, I don't even know if it changed since last time it worked).
The content of /run/build/deezer/flatpak-node/npm-cache/_logs/2021-11-15T12_49_52_782Z-debug.log is in this pastebin.
If there is a way to fix this, this would be perfect; it looks like #182 but I'm not sure if it is related to git dependencies too.
Thanks a lot,
Aurélien Hamy
The text was updated successfully, but these errors were encountered:
This is not an answer to the exact issue, but since you're generating the lockfile yourself anyway, consider using Yarn instead. It is by far less problematic for offline builds.
Hello and thank you very much for this repo,
I own the repository https://github.com/aunetx/deezer-linux, and try to (re)-build my package.
Nearly nothing has changed since last build, but I now get an error from flatpak builder when using
make export_flatpak
:It looks like some packages are not cached correctly anymore (
@types/semver
here, but I don't know if it is the only one since I can't get past it).I don't know what causes it, it is really pretty hard to get a lot of informations to fix this (especially since the app is extracted from an asar source, the package.json file is changed to include
electron
andelectron-builder
, and then it is rebuilt using flatpak... so all I know is that the package is not cached, I don't even know if it changed since last time it worked).The content of
/run/build/deezer/flatpak-node/npm-cache/_logs/2021-11-15T12_49_52_782Z-debug.log
is in this pastebin.If there is a way to fix this, this would be perfect; it looks like #182 but I'm not sure if it is related to git dependencies too.
Thanks a lot,
Aurélien Hamy
The text was updated successfully, but these errors were encountered: