I'm trying to use the lwc-dev-server but the page keeps loading and never displays anything after executing the start local development server command.
画像見たときは気付かなかったけど、白い画面になっていますね。
既知の問題みたい
Describe the bug
With the latest release of the LWC Dev Server, there is a known issue where upon loading http://localhost:3333/ (or substitute with custom port), the user is presented with a blank screen.
Workaround
Restart local dev server.
https://github.com/forcedotcom/lwc-dev-server-feedback/issues/91
結局は再インストールしたらしい
Finally I was able to find the solution. I uninstalled sfdx cli completely, reinstalled it, installed dev-server and it worked fine. Apparently the installation was incomplete or damaged at first, but I worked with Apex, LWC calmly, I only had problems with the dev-server.
よくわからんけど、解決したらしい
HTTPError: Response code 403 (Forbidden)
Code: ERR_NON_2XX_3XX_RESPONSE
バージョンが非推奨になっている
Macにインストールできない( M1 ARMベースのCPU)
I was getting installation issues on my Mac as well. I finally figured the solution. SFDX CLI needs to be installed via NPM, and not directly with the installer. Also it is only Supported with Node V18. What I effectively did was:
Remove SF CLI: Link
- Used NVM to install and use Node 18( As I already had a different version installed)
- Installed SFDX CLI via NPM: Link
- I tried installing the plugin and it installed successfully.