v0 preview fails with "sh: line 1: next: command not found" error in sandbox

Hi @marnix-3108, could you try using the terminal to install dependencies manually:

  1. Open chat terminal
  2. Inside the Terminal tab, type pnpm install press Enter
  3. If asked to Proceed, press Enter

After this try to restart the sandbox or dev server from the refresh button.

1 Like