LoginSignup
0
0

Wails failed to find Vite server URL

Posted at

wails devを実行した時、時々
ERROR failed to find Vite server UR
のエラーが発生しました。

cd frontend
npm run vite

npm ERR! Missing script: "vite"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run

ようなエラーメッセージが出ていました。npmが何か不具合があるそうです。
pnpmを利用しましょう。
wails.jsonで
"frontend:dev:watcher": "npm run dev" ->
"frontend:dev:watcher": "pnpm dev"

もう一度wails実行して解決しました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0