Package Details: moosync 7.1.0-1

Git Clone URL: https://aur.archlinux.org/moosync.git (read-only, click to copy)
Package Base: moosync
Description: A simple music player
Upstream URL: https://github.com/Moosync/Moosync
Keywords: audio moosync music musicplayer player song songs
Licenses: GPL3
Provides: moosync
Submitter: ovenoboyo
Maintainer: ovenoboyo
Last Packager: ovenoboyo
Votes: 3
Popularity: 0.125030
First Submitted: 2021-10-10 21:54 (UTC)
Last Updated: 2023-01-08 14:55 (UTC)

Latest Comments

ovenoboyo commented on 2022-09-14 15:10 (UTC)

My bad, just pushed 5.0.1 and the package should now be working properly

MrAureliusR commented on 2022-09-01 13:59 (UTC)

Yes, I am now able to build and install the package. However, upon launching, I am getting the following error:

$ moosync
App threw an error during load
Error: ENOENT: no such file or directory, open '/opt/Moosync/resources/app.asar.unpacked/node_modules/better-sqlite3/package.json'
    at Object.openSync (node:fs:585:3)
    at Object.func [as openSync] (node:electron/js2c/asar_bundle:5:1812)
    at Object.readFileSync (node:fs:453:35)
    at e.readFileSync (node:electron/js2c/asar_bundle:5:9160)
    at u.internalModuleReadJSON (node:electron/js2c/asar_bundle:5:11697)
    at Object.read (node:internal/modules/package_json_reader:21:60)
    at readPackage (node:internal/modules/cjs/loader:303:36)
    at resolveExports (node:internal/modules/cjs/loader:486:15)
    at Module._findPath (node:internal/modules/cjs/loader:529:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:926:27)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: ENOENT: no such file or directory, open '/opt/Moosync/resources/app.asar.unpacked/node_modules/better-sqlite3/package.json'
    at Object.openSync (node:fs:585:3)
    at Object.func [as openSync] (node:electron/js2c/asar_bundle:5:1812)
    at Object.readFileSync (node:fs:453:35)
    at e.readFileSync (node:electron/js2c/asar_bundle:5:9160)
    at u.internalModuleReadJSON (node:electron/js2c/asar_bundle:5:11697)
    at Object.read (node:internal/modules/package_json_reader:21:60)
    at readPackage (node:internal/modules/cjs/loader:303:36)
    at resolveExports (node:internal/modules/cjs/loader:486:15)
    at Module._findPath (node:internal/modules/cjs/loader:529:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:926:27)

In the "checking for packaging issues" step there is also this comment which may be related:

==> WARNING: Package contains reference to $srcdir
opt/Moosync/resources/app.asar.unpacked/node_modules/sharp/build/Makefile

ovenoboyo commented on 2022-09-01 05:44 (UTC)

Hey, setting YARN_CHECKSUM_BEHAVIOR=update should temporarily fixed the issue by setting. I've updated the package, let me know if it still breaks.

MrAureliusR commented on 2022-09-01 03:33 (UTC) (edited on 2022-09-01 03:40 (UTC) by MrAureliusR)

Build seems to be failing:

➤ YN0018: │ media-controller@https://github.com/Moosync/MediaController.git#commit=193e96cd2c1a41b41bd41985c359650a8d54d17f: The remote archive doesn't match the expected checksum
➤ YN0000: └ Completed in 42s 949ms
➤ YN0000: Failed with errors in 43s 537ms

EDIT: The issue seems to be in upstream as I tried building from source from their git repo and got the same issue. I know almost nothing about yarn so I'm not sure how easy this is to rectify.

PickMeMeNow commented on 2022-03-26 21:22 (UTC)

Hi!

Consider adding "electron" as a dependency, instead or in replacement of electron17-bin, it's part of the official arch repository community.