Description
I tried to use pnpm instead of npm with Wails 3, but when I run wails3 dev the app never starts because it can't connect to the dev server.
To Reproduce
- Replace all references of
npm for pnpm in the file build/Taskfile.yml
- Try to run the project in dev mode
wails3 dev
Expected behaviour
The app would start as expected with pnpm.
If I don't change build/Taskfile.yml and leave it with npm then it works.
Screenshots
Attempted Fixes
No response
System Details
Wails (v3.0.0-alpha.36) Wails Doctor
# System
┌──────────────────────────────────────────────────┐
| Name | MacOS |
| Version | 26.0.1 |
| ID | 25A362 |
| Branding | MacOS 26.0.1 |
| Platform | darwin |
| Architecture | arm64 |
| Apple Silicon | true |
| CPU | Apple M2 Max |
| CPU 1 | Apple M2 Max |
| CPU 2 | Apple M2 Max |
| GPU | 30 cores, Metal Support: Metal 4 |
| Memory | 64 GB |
└──────────────────────────────────────────────────┘
# Build Environment
┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐
| Wails CLI | v3.0.0-alpha.36 |
| Go Version | go1.25.3 |
| -buildmode | exe |
| -compiler | gc |
| CGO_CFLAGS | |
| CGO_CPPFLAGS | |
| CGO_CXXFLAGS | |
| CGO_ENABLED | 1 |
| CGO_LDFLAGS | |
| DefaultGODEBUG | containermaxprocs=0,decoratemappings=0,tlssha1=1,updatemaxprocs=0,x509sha256skid=0 |
| GOARCH | arm64 |
| GOARM64 | v8.0 |
| GOOS | darwin |
└─────────────────────────────────────────────────────────────────────────────────────────────────────┘
# Dependencies
┌────────────────────────────────────────────────────────────────────────┐
| Xcode cli tools | 2412 |
| npm | 10.9.3 |
| *NSIS | Not Installed. Install with `brew install makensis`. |
| |
└─────────────────────── * - Optional Dependency ────────────────────────┘
# Checking for issues
SUCCESS No issues found
# Diagnosis
SUCCESS Your system is ready for Wails development!
Additional context
No response
Description
I tried to use pnpm instead of npm with Wails 3, but when I run
wails3 devthe app never starts because it can't connect to the dev server.To Reproduce
npmforpnpmin the filebuild/Taskfile.ymlwails3 devExpected behaviour
The app would start as expected with
pnpm.If I don't change
build/Taskfile.ymland leave it withnpmthen it works.Screenshots
Attempted Fixes
No response
System Details
Additional context
No response