caoxiemeihao / nuxt-electron

Integrate Nuxt and Electron
MIT License
191 stars 21 forks source link

無限循環刷新 #90

Open naruko-hstk opened 2 months ago

naruko-hstk commented 2 months ago

image 應該有人提過了

總之照著readme寫的方式進行設定後就這樣了 這是具體錯誤

 ERROR  [unhandledRejection] write after end                                                                                                                                            6:31:21

  at _write (node:internal/streams/writable:487:11)
  at Writable.write (node:internal/streams/writable:508:10)
  at Sender.sendFrame (node_modules/vite/dist/node/chunks/dep-CUvs3bbV.js:56597:20)
  at Sender.close (node_modules/vite/dist/node/chunks/dep-CUvs3bbV.js:56258:12)
  at WebSocket.close (node_modules/vite/dist/node/chunks/dep-CUvs3bbV.js:57444:18)
  at Receiver.receiverOnConclude (node_modules/vite/dist/node/chunks/dep-CUvs3bbV.js:58291:18)
  at Receiver.emit (node:events:519:28)
  at Receiver.controlMessage (node_modules/vite/dist/node/chunks/dep-CUvs3bbV.js:55991:14)
  at Receiver.getData (node_modules/vite/dist/node/chunks/dep-CUvs3bbV.js:55810:12)
  at Receiver.startLoop (node_modules/vite/dist/node/chunks/dep-CUvs3bbV.js:55500:16)
reitowo commented 2 weeks ago
electron: {
  disableDefaultOptions: true,
}

will be a workaround.

angelhdzdev commented 1 day ago
electron: {
  disableDefaultOptions: true,
}

will be a workaround.

This solves this apparently!!! https://github.com/caoxiemeihao/nuxt-electron/issues/94

Thanks!!! ❤️🤯🤝👏🎉