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

Stuck on Initallizing VS Code when imported from a GitHub repository on Chrome #8713

Open
3 tasks done
lulunac27a opened this issue Mar 6, 2025 · 5 comments
Open
3 tasks done

Comments

@lulunac27a
Copy link

🐛 bug report

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project
    adheres to.
  • I have searched the issue tracker for an issue that matches the one I want
    to file, without success.

Description of the problem

How has this issue affected you? What are you trying to accomplish?

Can't open the imported GitHub repository in CodeSandbox.

To Reproduce

Import a GitHub repository from my GitHub account, and it takes forever to load.

Link to sandbox: link (optional)

Your Environment

Software Name/Version
Сodesandbox Latest version
Browser Chrome 133
Operating System macOS 15.3
@JamesACS
Copy link
Contributor

JamesACS commented Mar 7, 2025

Hey there, I understand how annoying it is when things don't load up as expected.

It sounds like there might be a hiccup with the repository import. To help with this, please make sure your project's repo has a package.json.

If it's a large repo, consider reducing the number of modules/files, as there’s a limitation on imports with more than 500 modules. If that’s not the cause, and you're still stuck, feel free to send us a link to the repo via our Support form and we can look deeper!

@lulunac27a
Copy link
Author

There is a package.json in that repository, but still not working in Chrome even when I clear the cache, but it works on other browser in Safari.

@lulunac27a lulunac27a changed the title Stuck on Initallizing VS Code when imported from a GitHub repository Stuck on Initallizing VS Code when imported from a GitHub repository on Chrome Mar 8, 2025
@JamesACS
Copy link
Contributor

Does the repository work in Chrome after you have completed the import in Safari into your account, or does it continue to hang?

@lulunac27a
Copy link
Author

Still not working in Chrome, even I use Incognito mode.

@lulunac27a
Copy link
Author

index.ts:93 Error: Services are already initialized
    at vjt (lifecycle.js:84:15)
    at vfi (files.js:493:5)
    at Tp (monaco.ts:277:26)
(anonymous)	@	console.js:36
(anonymous)	@	index.ts:93
Promise.catch		
loadLibrary	@	index.ts:91
(anonymous)	@	Feature.tsx:36
(anonymous)	@	hooks.js:68
uXe	@	react-dom.production.min.js:244
Cte	@	react-dom.production.min.js:286
Tsi	@	react-dom.production.min.js:273
gU	@	react-dom.production.min.js:127
B_n	@	react-dom.production.min.js:283
J8	@	react-dom.production.min.js:281
ZRi	@	react-dom.production.min.js:270
C	@	scheduler.production.min.js:13
E	@	scheduler.production.min.js:14

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

2 participants