Skip to content

Updates/issues for makesteamdeck.sh #429

@brianjmurrell

Description

@brianjmurrell

I had to s/3\.6/3\.7/g on this line to get this script to work:

pacman -S npm pkgconf gdk-pixbuf2 extra-3.6/at-spi2-core extra-3.6/cairo extra-3.6/gtk3 extra-3.6/pango extra-3.6/webkit2gtk-4.1 --noconfirm; \

due to:

+ pacman -S npm pkgconf gdk-pixbuf2 extra-3.6/at-spi2-core extra-3.6/cairo extra-3.6/gtk3 extra-3.6/pango extra-3.6/webkit2gtk-4.1 --noconfirm
error: database not found: extra-3.6
error: database not found: extra-3.6
error: database not found: extra-3.6
error: database not found: extra-3.6
error: database not found: extra-3.6

Then I ran into this problem:

+ npm install
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '[email protected]',
npm warn EBADENGINE   required: { node: '^20.0.0 || ^22.0.0 || >=24.0.0' },
npm warn EBADENGINE   current: { node: 'v23.4.0', npm: '11.0.0' }
npm warn EBADENGINE }

> [email protected] preinstall
> npx only-allow pnpm

Need to install the following packages:
[email protected]
Ok to proceed? (y) y

╔═════════════════════════════════════════════════════════════╗
║                                                             ║
║   Use "pnpm install" for installation in this project.      ║
║                                                             ║
║   If you don't have pnpm, install it via "npm i -g pnpm".   ║
║   For more details, go to https://pnpm.io/                  ║
║                                                             ║
╚═════════════════════════════════════════════════════════════╝
npm error code 1
npm error path /project
npm error command failed
npm error command sh -c npx only-allow pnpm
npm notice
npm notice New minor version of npm available! 11.0.0 -> 11.7.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.7.0
npm notice To update run: npm install -g [email protected]
npm notice
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-12-31T22_30_08_634Z-debug-0.log
+ NO_STRIP=true
+ make build-appimage
        Info Looking up installed tauri packages to check mismatched versions...
     Running beforeBuildCommand `pnpm run build`
sh: line 1: pnpm: command not found
beforeBuildCommand `pnpm run build` failed with exit code 127
       Error beforeBuildCommand `pnpm run build` failed with exit code 127
make: *** [Makefile:22: build-appimage] Error 1

So I added npm i -g pnpm before the npm install and it went further but then bombed out at:

+ make build-appimage
        Info Looking up installed tauri packages to check mismatched versions...
     Running beforeBuildCommand `pnpm run build`

> [email protected] build /project
> pnpm run wasm && pnpm vite build


> [email protected] wasm /project
> pnpm run wasm-resources && pnpm run wasm-pkm-rs


> [email protected] wasm-resources /project
> wasm-pack build ./pkm_rs_resources --target web -- --features wasm

sh: line 1: wasm-pack: command not found
 ELIFECYCLE  Command failed.
 ELIFECYCLE  Command failed with exit code 1.
 ELIFECYCLE  Command failed with exit code 1.
beforeBuildCommand `pnpm run build` failed with exit code 1
       Error beforeBuildCommand `pnpm run build` failed with exit code 1
make: *** [Makefile:22: build-appimage] Error 1

So I added wasm-pack to the list of packages installed by pacman.

Not sure how correct any of this is as I am not an ArchLinux user. I have literally decades of professional experience with Linux but just never dipped my toe into ArchLinux as a distribution.

With the above changes though, it seems to have built.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions