Package Details: rancher-desktop 1.12.2-1

Git Clone URL: https://aur.archlinux.org/rancher-desktop.git (read-only, click to copy)
Package Base: rancher-desktop
Description: Rancher Desktop is an open-source project to bring Kubernetes and container management to the desktop
Upstream URL: https://rancherdesktop.io/
Licenses: Apache
Provides: docker, helm, kubectl, limactl, nerdctl, rancher-desktop
Submitter: dgiebert
Maintainer: dgiebert (auroq)
Last Packager: dgiebert
Votes: 7
Popularity: 0.040633
First Submitted: 2021-11-17 14:24 (UTC)
Last Updated: 2024-01-24 07:35 (UTC)

Required by (283)

Sources (1)

Latest Comments

Tharbad commented on 2023-04-11 13:09 (UTC) (edited on 2023-04-11 15:54 (UTC) by Tharbad)

SOLVED on v1.8.1-2. Thanks

Getting error: (The next 3 lines are for context)

Run npm audit for details.

rancher-desktop@1.8.1 package node scripts/ts-wrapper.js scripts/package.ts

Packaging... • electron-builder version=23.6.0 os=6.2.9-zen1-1-zen

• loaded configuration file=/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/electron-builder.yml

• description is missed in the package.json appPackageFile=/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/package.json

• writing effective config file=dist/builder-effective-config.yaml

• rebuilding native dependencies dependencies=bufferutil@4.0.7, ffi-napi@4.0.3, native-reg@1.1.1, ref-napi@3.0.3, utf-8-validate@5.0.9 platform=linux arch=x64

• packaging platform=linux arch=x64 electron=20.3.8 appOutDir=dist/linux-unpacked

⨯ Application entry file "dist/app/background.js" in the "/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/dist/linux-unpacked/resources/app.asar" does not exist. Seems like a wrong configuration. failedTask=build stackTrace=Error: Application entry file "dist/app/background.js" in the "/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/dist/linux-unpacked/resources/app.asar" does not exist. Seems like a wrong configuration.

at error (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/node_modules/app-builder-lib/src/asar/asarFileChecker.ts:7:12)

at Object.checkFileInArchive (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/node_modules/app-builder-lib/src/asar/asarFileChecker.ts:31:11)

at LinuxPackager.checkFileInPackage (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/node_modules/app-builder-lib/src/platformPackager.ts:503:7)

at LinuxPackager.sanityCheckPackage (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/node_modules/app-builder-lib/src/platformPackager.ts:551:5)

at LinuxPackager.doPack (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/node_modules/app-builder-lib/src/platformPackager.ts:312:5)

at LinuxPackager.pack (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/node_modules/app-builder-lib/src/platformPackager.ts:136:5)

at Packager.doBuild (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/node_modules/app-builder-lib/src/packager.ts:441:9)

at Object.executeFinally (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/node_modules/builder-util/src/promise.ts:12:14)

at Packager._build (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/node_modules/app-builder-lib/src/packager.ts:376:31)

at Packager.build (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/node_modules/app-builder-lib/src/packager.ts:337:12)

at Object.executeFinally (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/node_modules/builder-util/src/promise.ts:12:14)

Error: node exited with code 1 at ChildProcess.<anonymous> (/tmp/yay/rancher-desktop/src/rancher-desktop-1.8.1/pkg/rancher-desktop/utils/childProcess.ts:245:33)

at ChildProcess.emit (node:events:513:28)

at ChildProcess.emit (node:domain:489:12)

at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) {

code: 1, command: [ 'node', 'node_modules/electron-builder/out/cli/cli.js', '-c.extraMetadata.version=1.8.1' ] }

==> ERROR: A failure occurred in build().

Aborting...

-> error making: rancher-desktop-exit status 4

-> Failed to install the following packages. Manual intervention is required:

rancher-desktop - exit status 4


Also, npm has warnings:

==> Starting build()...

npm WARN ERESOLVE overriding peer dependency

npm WARN While resolving: require-extension-hooks-vue@3.0.0

npm WARN Found: vue-template-compiler@2.6.14

npm WARN node_modules/vue-template-compiler

npm WARN dev vue-template-compiler@"2.6.14" from the root project

npm WARN 11 more (@nuxt/components, @nuxt/vue-app, @nuxt/webpack, ...)

npm WARN

npm WARN Could not resolve dependency:

npm WARN peer vue-template-compiler@"2.5.x" from require-extension-hooks-vue@3.0.0

npm WARN node_modules/require-extension-hooks-vue

npm WARN require-extension-hooks-vue@"^3.0.0" from @rancher/shell@0.1.3

npm WARN node_modules/@rancher/shell

npm WARN

npm WARN Conflicting peer dependency: vue-template-compiler@2.5.22

npm WARN node_modules/vue-template-compiler

npm WARN peer vue-template-compiler@"2.5.x" from require-extension-hooks-vue@3.0.0

npm WARN node_modules/require-extension-hooks-vue

npm WARN require-extension-hooks-vue@"^3.0.0" from @rancher/shell@0.1.3

npm WARN node_modules/@rancher/shell

npm WARN ERESOLVE overriding peer dependency

npm WARN While resolving: @nuxtjs/eslint-module@1.2.0

npm WARN Found: eslint@7.32.0

npm WARN node_modules/@rancher/shell/node_modules/eslint

npm WARN eslint@"7.32.0" from @rancher/shell@0.1.3

npm WARN node_modules/@rancher/shell

npm WARN @rancher/shell@"0.1.3" from the root project

npm WARN 13 more (@nuxtjs/eslint-config, eslint-plugin-jest, ...)

npm WARN npm WARN Could not resolve dependency:

npm WARN peer eslint@"^5.0.0 || ^6.0.0" from @nuxtjs/eslint-module@1.2.0

npm WARN node_modules/@rancher/shell/node_modules/@nuxtjs/eslint-module

npm WARN @nuxtjs/eslint-module@"^1.1.0" from @rancher/shell@0.1.3

npm WARN node_modules/@rancher/shell

npm WARN

npm WARN Conflicting peer dependency: eslint@6.8.0

npm WARN node_modules/eslint

npm WARN peer eslint@"^5.0.0 || ^6.0.0" from @nuxtjs/eslint-module@1.2.0

npm WARN node_modules/@rancher/shell/node_modules/@nuxtjs/eslint-module

npm WARN @nuxtjs/eslint-module@"^1.1.0" from @rancher/shell@0.1.3

npm WARN node_modules/@rancher/shell

npm WARN deprecated asar@3.2.0: Please use @electron/asar moving forward. There is no API change, just a package name change

npm WARN deprecated electron-osx-sign@0.6.0: Please use @electron/osx-sign moving forward. Be aware the API is slightly different

soloturn commented on 2022-03-16 04:15 (UTC)

would be cool if rancher desktop could use the packaged electron and not download its own.

k4yt3x commented on 2022-03-07 16:15 (UTC)

Looks like go needs to be in makedepends now?

hermesalvesbr commented on 2022-03-05 19:29 (UTC)

This package was broken now :(

https://github.com/rancher-sandbox/rancher-desktop/issues/1737

2907 verbose stack at ChildProcess.<anonymous> (/var/tmp/pamac-build-manjaro/rancher-desktop/src/.nvm/versions/node/v17.6.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27) 2907 verbose stack at ChildProcess.emit (node:events:527:28) 2907 verbose stack at maybeClose (node:internal/child_process:1090:16) 2907 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) 2908 verbose pkgid rancher-desktop@1.1.0 2909 verbose cwd /var/tmp/pamac-build-manjaro/rancher-desktop/src/rancher-desktop-1.1.0 2910 verbose Linux 5.15.25-1-MANJARO 2911 verbose argv "/var/tmp/pamac-build-manjaro/rancher-desktop/src/.nvm/versions/node/v17.6.0/bin/node" "/var/tmp/pamac-build-manjaro/rancher-desktop/src/.nvm/versions/node/v17.6.0/bin/npm" "install" 2912 verbose node v17.6.0 2913 verbose npm v8.5.1 2914 error code 1 2915 error path /var/tmp/pamac-build-manjaro/rancher-desktop/src/rancher-desktop-1.1.0 2916 error command failed 2917 error command sh -c node ./scripts/postinstall.mjs 2918 verbose exit 1

jjm commented on 2022-01-31 12:58 (UTC)

The PKGBUILD is missing a makedepends= on imagemagick.

auroq commented on 2021-11-17 18:45 (UTC)

@dgiebert Looks as though you and I had the same idea at the same time, though I went the -git route: https://aur.archlinux.org/packages/rancher-desktop-git/

I had planned to do both, finished up the -git one last night and woke up to your submission this morning.

I'd love to collaborate on one or both if you're interested. Your email is hidden on your profile, but mine is visible. Feel free to reach out if you're interested: https://aur.archlinux.org/account/auroq