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

Reload fails on fresh install #6

Closed
smartinio opened this issue Nov 1, 2024 · 6 comments
Closed

Reload fails on fresh install #6

smartinio opened this issue Nov 1, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@smartinio
Copy link

smartinio commented Nov 1, 2024

Error

Fail to execute action, RangeError: Maximum call stack size exceeded

Extension version

v0.3.1

About VS Code

Version: 1.95.0 (Universal)
Commit: 912bb683695358a54ae0c670461738984cbb5b95
Date: 2024-10-28T20:16:24.561Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 23.4.0

Screenshots

2024-11-01 at 07 39 15@2x

2024-11-01 at 07 41 49@2x

@subframe7536 subframe7536 added the bug Something isn't working label Nov 1, 2024
@subframe7536
Copy link
Owner

Cannot reproduce on my Mac...

Here is a new test version with full logs: custom-ui-style-0.3.2-beta.1.zip

@smartinio
Copy link
Author

@subframe7536

  1. I renamed the file from .zip to .vsix and installed it via Install from VSIX...
  2. The output channel now has npm:Atomically error before the error in the OP

@smartinio
Copy link
Author

Alright, managed to fix the issue. The added hint lead me to see that atomically is used to interact with the filesystem, so I suspected it's the same issue that was present with APC (file permissions)

Works after running this and quitting/reopening VSCode (cmd + Q):

sudo chown -R $(whoami) "/Applications/Visual Studio Code.app"

@subframe7536
Copy link
Owner

Thanks fot testing! I will add this tip to README

subframe7536 added a commit that referenced this issue Nov 2, 2024
@subframe7536
Copy link
Owner

Release in v0.3.2

@Nebula-Developer
Copy link

sudo chown -R $(whoami) "/Applications/Visual Studio Code.app"

Just to add, for Linux it's usually /opt/visual-studio-code. That worked for me.

subframe7536 added a commit that referenced this issue Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants