Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LWC does not preview properly and loads infinitely #158

Open
Wataru-Sugimoto-PA opened this issue Sep 6, 2023 · 5 comments
Open

LWC does not preview properly and loads infinitely #158

Wataru-Sugimoto-PA opened this issue Sep 6, 2023 · 5 comments

Comments

@Wataru-Sugimoto-PA
Copy link

Describe the bug
LWC does not preview locally

To Reproduce
Steps to reproduce the behavior:
Install

  1. Install n
brew install n
  1. Install node
n stable
  1. Install sfdx globally with npm
npm install sfdx-cli --global
  1. Install lwc local dev server
sfdx plugins:install @salesforce/lwc-dev-server
  1. Install lwc local mobile dev server
  2. Auth devhub org with vscode
  3. check default org was switched
  4. Run lwc local server with vscode command Palette
  5. Startup Process stops at LWR 6001 and LWC is not previewed
    image
  6. In Chrome dev tool, It stop at accessing to "webruntime/bootstrap/latest/dev/ja/@webruntime/app"
    image

Expected behavior
Great screen appears to preview

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS Ventura ver 13.5
  • Browser: both chrome and safari
    Version
  • chrome[ver 115.0.5790.170]
  • sh[3.2.57(1)-release]
  • n[v9.1.0]
  • npm[9.6.7]
  • node[v18.17.0]
  • homebrew[4.1.9]

Additional context
Actually I try to install local server on Win10 wsl. But It does not work either
this is my terminal history
21 brew install n
22 n latest
23 sudo n latest
24 sudo n stable
25 node --version
26 npm install sfdx-cli --global
27 npm install -g npm@10.0.0
28 sudo npm install -g npm@10.0.0
29 npm install sfdx-cli --global
30 sudo npm install sfdx-cli --global
31 sfdx
32 sudo npm install @salesforce/cli --global
33 npm install @salesforce/cli --global
34 sfdx plugins:install @salesforce/lwc-dev-server
35 sfdx plugins:install @salesforce/lwc-dev-mobile
36 $ sfdx force:lightning:lwc:start
37 sfdx force:lightning:lwc:start
38 java
39 java --version
40 sudo chown -R wataru.sugimoto /Users/xxx/
41 npm
42 npm --version
43 sh --version
44 n --version
45 node --version
46 brew --version
47 history

@stale
Copy link

stale bot commented Sep 17, 2023

This issue has been automatically marked as type:bug-p3 because it has not had recent activity.

@stale stale bot added the type:bug-p3 label Sep 17, 2023
@elliot41
Copy link

Same issue for me with the Desktop Browser Server.

@jweston491
Copy link

Same issue for me

1 similar comment
@ChrisBland
Copy link

Same issue for me

@stale stale bot removed the type:bug-p3 label Jan 25, 2024
Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as type:bug-p3 because it has not had recent activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants