You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Running pnpm dlx opencode-supermemory@latest login in WSL will result in an error #72
Running pnpm dlx opencode-supermemory@latest login in WSL will result in an error.
Simply execute the following command in Ubuntu 26.04 WSL:
sudo apt update && sudo apt upgrade --assume-yes
sudo snap install mise --classic
echo'eval "$(mise activate bash)"'>>~/.bashrc
source~/.bashrc
sudo apt install --assume-yes libatomic1
mise use --global node@26.7.0
npm install --global npm@latest
npx --yes get-pnpm
source~/.bashrc
pnpm add --global --allow-build=opencode-ai opencode-ai
pnpm dlx opencode-supermemory@latest install
# When prompted `No OpenCode config found. Create one? (y/n)`, type `y` and press Enter.# When prompted `Add supermemory commands? (y/n)`, type `y` and press Enter.
pnpm dlx opencode-supermemory@latest login
An error message similar to the following was received:
lingh@DESKTOP-8UCKIRD:~$ pnpm dlx opencode-supermemory@latest login
Opening browser for authentication...
If it doesn't open, visit: https://app.supermemory.ai/auth/agent-connect?callback=http%3A%2F%2F127.0.0.1%3A37893%2Fcallback%3Fstate%3D746640a4c0066362c43ac090a9e498e3&client=opencode&hostname=opencode+-+DESKTOP-8UCKIRD&os=linux-x64&cwd=%2Fhome%2Flingh&cli_version=2.0.10✗ Authentication failed: Failed to open browser: spawn xdg-open ENOENT
Reproduced this on WSL2 Ubuntu 24.04 without xdg-open: login exits right after printing the fallback URL. Opened #90 so a failed browser launch is no longer fatal; login keeps waiting and you can open the printed URL in your Windows browser (verified the callback works across WSL localhost forwarding).
Activity
Chebaleomkar commentedon Sep 27, 2026
Reproduced this on WSL2 Ubuntu 24.04 without
xdg-open: login exits right after printing the fallback URL. Opened #90 so a failed browser launch is no longer fatal; login keeps waiting and you can open the printed URL in your Windows browser (verified the callback works across WSL localhost forwarding).