vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Code Insider does not work on mac

Open cadupedroni opened this issue 10 years ago • 8 comments

  • VSCode Version: 0.10.15-insider
  • OS Version: 10.11.4 (OS X El Capitan)

Steps to Reproduce:

  1. Download the official website
  2. Unzip the file and try to run

cadupedroni avatar Apr 05 '16 19:04 cadupedroni

@cadupedroni what happens when you run it?

Tyriar avatar Apr 05 '16 19:04 Tyriar

The VSCode Insiders he shows at the top of the screen but then immediately closes.

One difference I found on now was in the folder that it creates within ~/Library/"Application Support"/Code - Insiders, have the following structure:

DevTools Extensions - file with just [] User - folder empty

In the same folder structure of the stable version of the VSCode has the following structure:

Devtools Extensions - file GPUCache - folder Local Storage - folder User - folder storage.json

cadupedroni avatar Apr 05 '16 19:04 cadupedroni

Does it happen if you download it and extract it again?

What application do you use for extracting?

What output do you get when running straight from the terminal?

/Applications/Visual\ Studio\ Code\ -\ Insiders.app/Contents/MacOS/Electron

cc @bpasero

joaomoreno avatar Apr 05 '16 20:04 joaomoreno

Thank you very much! Now worked perfectly.

The problem is permission denied.

I run sudo /Applications/Visual\ Studio\ Code\ -\ Insiders.app/Contents/MacOS/Electron

cadupedroni avatar Apr 05 '16 20:04 cadupedroni

Good morning Today I went to open the Visual Studio Code and it only works if I run sudo/Applications/Visual\ Studio \ -\ Insiders.app Code/Contents/MacOS/Electron

When I try to click the icon in the dock, the problem continues, is there any permanent solution that works by clicking on the icon of the vscode insiders?

cadupedroni avatar Apr 06 '16 12:04 cadupedroni

You might wanna delete the whole ~/Library/"Application Support"/Code - Insiders directory and never start Code with sudo again.

joaomoreno avatar Apr 06 '16 13:04 joaomoreno

Deleted the directory and downloaded again the Code Insiders, but the problem continues.

cadupedroni avatar Apr 12 '16 12:04 cadupedroni

The error was caused by lack of permission in the folder /Users/youruser/Library/Application Support

With the command -> sudo chmod 775

Was solved

cadupedroni avatar Jun 17 '16 16:06 cadupedroni