Skip to content

Error build packages #2

@161sam

Description

@161sam

user@ai-workspace:~/SmolDesk$ make setup
Installing Node.js dependencies...
npm install

smoldesk@1.0.0 postinstall
tauri info

[✔] Environment
- OS: Ubuntu 24.4.0 X64
✔ webkit2gtk-4.0: 2.36.0
✔ rsvg2: 2.58.0
✔ rustc: 1.87.0 (17067e9ac 2025-05-09)
✔ cargo: 1.87.0 (99624be96 2025-05-06)
✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
- node: 20.19.2
- npm: 10.8.2

[-] Packages
- tauri [RUST]: 1.8.3
- tauri-build [RUST]: 1.5.6
- wry [RUST]: 0.24.11
- tao [RUST]: 0.16.10
- tauri-cli [RUST]: 2.5.0
- @tauri-apps/api [NPM]: 1.6.0 (outdated, latest: 2.5.0)
- @tauri-apps/cli [NPM]: 1.6.3 (outdated, latest: 2.5.0)

[-] App
- build-type: bundle
- CSP: default-src 'self' blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline'; img-src 'self' blob: data: filesystem: http: https: tauri:; media-src 'self' blob: data: filesystem: http: https: tauri:
- distDir: ../dist
- devPath: http://localhost:1420/
- framework: Svelte
- bundler: Vite

smoldesk@1.0.0 prepare
husky install

husky - install command is DEPRECATED

up to date, audited 655 packages in 4s

219 packages are looking for funding
run npm fund for details

7 vulnerabilities (1 low, 6 moderate)

To address issues that do not require attention, run:
npm audit fix

To address all issues (including breaking changes), run:
npm audit fix --force

Run npm audit for details.
Installing Rust dependencies...
cd src-tauri && cargo fetch
rustup target add x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu || true
info: component 'rust-std' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'rust-std' for target 'aarch64-unknown-linux-gnu' is up to date
Checking system dependencies...
Required packages:

  • FFmpeg (video encoding)
  • X11 tools: xdotool, xclip (for X11 support)
  • Wayland tools: ydotool, wl-clipboard (for Wayland support)
  • PipeWire (for Wayland screen capture)

Ubuntu/Debian:
sudo apt install ffmpeg xdotool ydotool xclip wl-clipboard pipewire

Fedora/RHEL:
sudo dnf install ffmpeg xdotool ydotool xclip wl-clipboard pipewire
Development environment setup complete!
Run 'make dev' to start the development server.
user@ai-workspace:~/SmolDesk$ ./build-all-packages.sh
[INFO] Starting SmolDesk build process...
[INFO] Checking build dependencies...
[WARNING] wl-clipboard not found - Wayland clipboard sync will be disabled
[SUCCESS] All required dependencies found
[INFO] Setting up Rust targets...
[SUCCESS] Rust targets configured
[INFO] Installing Node.js dependencies...

smoldesk@1.0.0 postinstall
tauri info

[✔] Environment
- OS: Ubuntu 24.4.0 X64
✔ webkit2gtk-4.0: 2.36.0
✔ rsvg2: 2.58.0
✔ rustc: 1.87.0 (17067e9ac 2025-05-09)
✔ cargo: 1.87.0 (99624be96 2025-05-06)
✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
- node: 20.19.2
- npm: 10.8.2

[-] Packages
- tauri [RUST]: 1.8.3
- tauri-build [RUST]: 1.5.6
- wry [RUST]: 0.24.11
- tao [RUST]: 0.16.10
- tauri-cli [RUST]: 2.5.0
- @tauri-apps/api [NPM]: 1.6.0 (outdated, latest: 2.5.0)
- @tauri-apps/cli [NPM]: 1.6.3 (outdated, latest: 2.5.0)

[-] App
- build-type: bundle
- CSP: default-src 'self' blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline'; img-src 'self' blob: data: filesystem: http: https: tauri:; media-src 'self' blob: data: filesystem: http: https: tauri:
- distDir: ../dist
- devPath: http://localhost:1420/
- framework: Svelte
- bundler: Vite

smoldesk@1.0.0 prepare
husky install

husky - install command is DEPRECATED

up to date, audited 655 packages in 4s

219 packages are looking for funding
run npm fund for details

7 vulnerabilities (1 low, 6 moderate)

To address issues that do not require attention, run:
npm audit fix

To address all issues (including breaking changes), run:
npm audit fix --force

Run npm audit for details.
[INFO] Installing Rust dependencies...
[SUCCESS] Dependencies installed
[INFO] Building frontend...
npm error Missing script: "build"
npm error
npm error To see a list of scripts, run:
npm error npm run
npm error A complete log of this run can be found in: /home/user/.npm/_logs/2025-06-17T10_08_26_677Z-debug-0.log
[ERROR] Frontend build failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions