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

Terminal & browser window are not working #1464

Open
1 task done
ShubhanshuLV opened this issue Jun 13, 2024 · 4 comments
Open
1 task done

Terminal & browser window are not working #1464

ShubhanshuLV opened this issue Jun 13, 2024 · 4 comments

Comments

@ShubhanshuLV
Copy link

Describe the bug

Terminal window must load properly so I can run the npm commands to run this sample project.
Also preview window must work to display application UI after npm app compilation.

Link to the blitz that caused the error

https://stackblitz.com/edit/stackblitz-starters-k7yd6v?description=An%20angular-cli%20project%20based%20on%20@angular/animations,%20@angular/common,%20@angular/compiler,%20@angular/core,%20@angular/forms,%20@angular/platform-browser,%20@angular/platform-browser-dynamic,%20@angular/router,%20core-js,%20rxjs,%20tslib%20and%20zone.js&file=package.json&template=node&title=Angular%20Starter

Steps to reproduce

  1. Go to application editor (IDE)
  2. Then you will see the terminal is not loading

Expected behavior

Terminal must be load and I can run npm commands to execute this sample application.

Parity with Local

Screenshots

image

Platform

Browser name  = Chrome
Full version  = 125.0.0.0
Major version = 125
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 87852217,
  "usedJSHeapSize": 71428693,
  "jsHeapSizeLimit": 2172649472
}
Hash = 9e2d28a3

Additional context

No response

@SamVerschueren
Copy link
Contributor

Hey @ShubhanshuLV 👋 . Thanks for reaching out! Would it be possible to open the Chrome DevTools and check if there are any error messages? It's very weird that it doesn't even show "Booting WebContainer".

@ShubhanshuLV
Copy link
Author

@SamVerschueren, Thanks for your response.
Yes. there is one error I am seeing as follows:

Uncaught (in promise) TypeError: (0 , window.WebContainer) is not a constructor
at PW (client-85cd01487893a.js:2:2927704)
at client-85cd01487893a.js:2:3514330
at client-85cd01487893a.js:2:3514555
at nrWrapper (stackblitz-starters-k7yd6v?description=An%20angular-cli%20project%20based%20on%20@angular/animations,%20@angular/common,%20@angular/compiler,%20@angular/core,%20@angular/forms,%20@angular/platform-browser,%20@angular/platform-browser-dynamic,%20@angular/router,%20core-js,%20rxjs,%20tslib%20and%20zone.js&file=package.json&template=node&title=Angular%20Starter:8:17817)

Please check the attached screenshot here.
Thanks

image

@SamVerschueren
Copy link
Contributor

Do you happen to be on a network which might block some of the requests that we make? You should be able to see failing requests in the network tab. This might happen due to a company firewall or something like that blocking the requests.

@ShubhanshuLV
Copy link
Author

@SamVerschueren, this issue will suppose to all stackblitz projects but that's not the case.
If I am opening the others project applications on same system then it's working fine but if I am trying to open my project application then I am getting this issue.

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

No branches or pull requests

2 participants