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
failed to run on chrome browser with 'yarn web' #84198
Comments
You need to run |
when I run 'scripts/code.sh', there's some problems: yarn run v1.17.3 my environment is a linux server |
I have the same issue here. The root cause is the web is trying to get "static-extension/vscode-api-tests/out/extension.js" file from "localhost", but I'm using the web UI in remote browser. I can workaround the issue by modifying the "scripts/code-web.js" like this:
|
I added the following command line arguments to control this:
Please let me know how that goes, e.g. Thanks for testing this! |
After |
Yeah those errors are OK and can be ignored. Reported already as #82567 |
git clone latest project code, and run command 'yarn' then 'yarn watch' and then 'yarn web', so the process starts and I can access it on chrome with url 'http://xxx.xxx.xxx.xx:8080'.
But then meets some problems:
terminal prints this logs:
yarn run v1.17.3
$ node scripts/code-web.js
Web UI available at http://localhost:8080
Error: ENOENT: no such file or directory, stat '/ms_vscode/vscode-1.40.0/vscode/remote/web/node_modules/vscode-textmate/release/main.js.map'
Error: ENOENT: no such file or directory, stat '/ms_vscode/vscode-1.40.0/vscode/remote/web/node_modules/onigasm-umd/release/OnigString.js.map'
Press F12 on chrome to see details
extHostExtensionActivator.ts:365 Activating extension
vscode.vscode-api-tests
failed: Failed to fetchextensionResourceLoaderService.ts:29 GET http://localhost:8080/static-extension/theme-defaults/themes/dark_plus.json net::ERR_CONNECTION_REFUSED
webWorkerFileSystemProvider.ts:21 GET http://localhost:8080/static-extension/theme-seti/icons/vs-seti-icon-theme.json net::ERR_CONNECTION_REFUSED
Is there any suggestion to solve the problems?
The text was updated successfully, but these errors were encountered: