flathub / com.notesnook.Notesnook

https://flathub.org/apps/details/com.notesnook.Notesnook
6 stars 1 forks source link

V3.0.8 #42

Closed Gandalf-the-Blue closed 4 months ago

flathubbot commented 4 months ago

Started test build 125642

flathubbot commented 4 months ago

Build 125642 failed

Gandalf-the-Blue commented 4 months ago

Hey @thecodrr - flatpak builds are failing in the same way as in 3.0.7 -> the log shows some kind of npm error. Can you please check and let me know how to fix this?

Node.js v20.14.0
⠙

 >  NX   Ran target release for project @notesnook/desktop and 2 task(s) they depend on (4s)

    ✖    1/3 failed
    ✔    2/3 succeeded [0 read from cache]

[?25h
 >  NX   No existing Nx Cloud client and failed to download new version
   Nx Cloud was not used for this command.
   You might be offline. Nx Cloud will be re-enabled when you are back online.
[?25h⠙npm info using npm@10.7.0
npm info using node@v20.14.0
⠙npm error code ENOTCACHED
⠙npm error request to https://registry.npmjs.org/electron-builder failed: cache mode is 'only-if-cached' but no cached response is available.
⠙
⠙npm error A complete log of this run can be found in: /run/build/notesnook/flatpak-node/npm-cache/_logs/2024-06-03T14_53_24_425Z-debug-0.log
⠙cp: cannot stat 'output/linux-*unpacked/*': No such file or directory
FB: host_command_exited_cb 3301878 256
]2;flatpak-builder: Cleanup notesnookError: module notesnook: Child process exited with code 1
FB: Unmounting read-only fs: fusermount -uz /srv/buildbot/worker/build-aarch64-2/build/.flatpak-builder/rofiles/rofiles-E3Tw2n
program finished with exit code 1
elapsedTime=118.204568
thecodrr commented 4 months ago

The generated-sources.json file is probably outdated. Use this one instead:

generated-sources.json

flathubbot commented 4 months ago

Started test build 125789

flathubbot commented 4 months ago

Started test build 125790

flathubbot commented 4 months ago

Build 125789 failed

flathubbot commented 4 months ago

Build 125790 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/108751/com.notesnook.Notesnook.flatpakref
Gandalf-the-Blue commented 4 months ago

@thecodrr - Replaced the generated-sources.json file, and it has worked. Please merge. Thanks!