Package Details: realm-studio-git 15.2.1.r1.gb501e04-1

Git Clone URL: https://aur.archlinux.org/realm-studio-git.git (read-only, click to copy)
Package Base: realm-studio-git
Description: A tool,any developer or system administrator would use when building and maintaining their app built on the Realm Mobile Platform.Use system-wide electron.
Upstream URL: https://realm.io/products/realm-studio/
Keywords: electron-app reactjs realm realm-js synchronization typescript
Licenses: Apache-2.0
Conflicts: realm-studio
Provides: realm-studio
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 0
Popularity: 0.000000
First Submitted: 2024-03-27 09:00 (UTC)
Last Updated: 2024-10-22 03:50 (UTC)

Dependencies (8)

Required by (0)

Sources (2)

Latest Comments

zxp19821005 commented on 2024-09-13 08:09 (UTC)

@XJia You're most welcome.

XJia commented on 2024-09-13 08:05 (UTC)

success, thanks.

zxp19821005 commented on 2024-09-12 04:19 (UTC)

@XJia According to your feedback, I made some changes to the code, will you please test it again?

XJia commented on 2024-09-12 04:00 (UTC)

I tried again, without changing the CN part (not sure where to change it), it went through that part, but then still fails, got:

> realm-studio@15.2.1 package
> electron-builder --publish=never

  • electron-builder  version=24.13.3 os=6.6.47-1-MANJARO
  • loaded configuration  file=package.json ("build" field)
  • rebuilding native dependencies  dependencies=realm@12.9.0 platform=linux arch=x64
  • install prebuilt binary  name=realm version=12.9.0 platform=linux arch=x64 napi= 
  • packaging       platform=linux arch=x64 electron=27.3.11 appOutDir=dist/linux-unpacked
  ⨯ cannot resolve https://www.electronjs.org/versions27.3.11/electron-v27.3.11-linux-x64.zip: status code 404
github.com/develar/app-builder/pkg/download.(*Downloader).follow
    /Volumes/data/Documents/app-builder/pkg/download/downloader.go:237
github.com/develar/app-builder/pkg/download.(*Downloader).DownloadNoRetry
    /Volumes/data/Documents/app-builder/pkg/download/downloader.go:128
github.com/develar/app-builder/pkg/download.(*Downloader).Download
    /Volumes/data/Documents/app-builder/pkg/download/downloader.go:112
github.com/develar/app-builder/pkg/electron.(*ElectronDownloader).doDownload
    /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:192
github.com/develar/app-builder/pkg/electron.(*ElectronDownloader).Download
    /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:177
github.com/develar/app-builder/pkg/electron.downloadElectron.func1.1
    /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:73
github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2
    /Volumes/data/Documents/app-builder/pkg/util/async.go:68
runtime.goexit
    /usr/local/Cellar/go/1.17/libexec/src/runtime/asm_amd64.s:1581  
  ⨯ /var/tmp/pamac-build-djia/realm-studio-git/src/realm-studio.git/node_modules/app-builder-bin/linux/x64/app-builder process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1  failedTask=build stackTrace=Error: /var/tmp/pamac-build-djia/realm-studio-git/src/realm-studio.git/node_modules/app-builder-bin/linux/x64/app-builder process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1
    at ChildProcess.<anonymous> (/var/tmp/pamac-build-djia/realm-studio-git/src/realm-studio.git/node_modules/builder-util/src/util.ts:252:14)
    at Object.onceWrapper (node:events:632:26)
    at ChildProcess.emit (node:events:517:28)
    at maybeClose (node:internal/child_process:1098:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:303:5)
==> ERROR: A failure occurred in build().
    Aborting...

zxp19821005 commented on 2024-09-12 03:26 (UTC) (edited on 2024-09-12 03:28 (UTC) by zxp19821005)

@XJia Maybe you should search the npm mirror of your country, and change it in the PKGBUILD :

if [[ "$(curl -s ipinfo.io/country)" == *"CN"* ]]; then
            echo 'registry=https://registry.npmmirror.com'
            echo 'disturl=https://registry.npmmirror.com/-/binary/node/'
            echo 'electron_mirror=https://registry.npmmirror.com/-/binary/electron/'
            echo 'electron_builder_binaries_mirror=https://registry.npmmirror.com/-/binary/electron-builder-binaries/'

change CN to your country's short name, and https://registry.npmmirror.com to your country's npm mirror.

XJia commented on 2024-09-11 18:14 (UTC)

Computing checksum with sha256sum Checksums matched! Now using node v18.20.4 (npm v10.7.0) Creating default alias: default -> 18 (-> v18.20.4 *) Now using node v18.20.4 (npm v10.7.0) npm warn deprecated why-did-you-update@1.0.8: Package no longer supported. Please use @welldone-software/why-did-you-render instead. npm warn deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm warn deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm warn deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm warn deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm warn deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm warn deprecated har-validator@5.1.5: this library is no longer supported npm warn deprecated electron-download@4.1.1: Please use @electron/get moving forward. npm warn deprecated electron-notarize@1.2.2: Please use @electron/notarize moving forward. There is no API change, just a package name change npm warn deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. npm warn deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs npm warn deprecated core-js@1.2.7: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. npm notice npm notice New minor version of npm available! 10.7.0 -> 10.8.3 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.3 npm notice To update run: npm install -g npm@10.8.3 npm notice npm error code ETIMEDOUT npm error syscall read npm error errno -110 npm error network read ETIMEDOUT npm error network This is a problem related to network connectivity. npm error network In most cases you are behind a proxy or have bad network settings. npm error network npm error network If you are behind a proxy, please make sure that the npm error network 'proxy' config is set properly. See: 'npm help config'

npm error A complete log of this run can be found in: /var/tmp/pamac-build-djia/realm-studio-git/src/.npm_cache/_logs/2024-09-11T18_04_40_521Z-debug-0.log ==> ERROR: A failure occurred in build(). Aborting...

So not exactly related to Manjaro. Says a network error. My network is not very fast for sure, but it works. Not sure how to fix.

XJia commented on 2024-09-11 07:18 (UTC)

Hi, the new version fails to build on Manjaro