D
D
Drovosek012019-01-06 01:39:00
macOS
Drovosek01, 2019-01-06 01:39:00

Why can't I open Visual Studio Code due to a problem?

I downloaded .zip from the official site, transferred .app from it to the Programs folder, launched it and got an error:
5c3131cd7af76786676353.png
Here is the error code:

Process:               Electron [709]
Path:                  /Applications/Visual Studio Code.app/Contents/MacOS/Electron
Identifier:            com.microsoft.VSCode
Version:               1.30.1 (1.30.1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Electron [709]
User ID:               501

Date/Time:             2019-01-06 00:12:05.683 +0300
OS Version:            Mac OS X 10.14.2 (18C54)
Report Version:        12
Anonymous UUID:        D9D478A9-2FAF-8F54-7335-D6B89CB01799


Time Awake Since Boot: 1200 seconds

System Integrity Protection: disabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @rpath/Electron Framework.framework/Electron Framework
  Referenced from: /Applications/Visual Studio Code.app/Contents/MacOS/Electron
  Reason: no suitable image found.  Did find:
    /Applications/Visual Studio Code.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
    /Applications/Visual Studio Code.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1

Binary Images:
       0x101d77000 -        0x101d77ff7 +com.microsoft.VSCode (1.30.1 - 1.30.1) <D1F248EA-3916-382F-A28E-9E60D78F3737> /Applications/Visual Studio Code.app/Contents/MacOS/Electron
       0x10f058000 -        0x10f0d6a67  dyld (640.2) <289AB27E-F09F-3384-A14A-100431139559> /usr/lib/dyld
    0x7fff2ee93000 -     0x7fff2ef9dff3  com.apple.Bluetooth (6.0.9 - 6.0.9f2) <CD9FA230-8BBB-307C-8FFF-86B1B7078D05> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth

Model: MacBookPro13,1, BootROM 228.0.0.0.0, 2 processors, Intel Core i5, 2,40 GHz, 12 GB, SMC 2.36f97
Graphics: Intel HD Graphics 520, Intel HD Graphics 520, Built-In
Graphics: Display, PCIe
Memory Module: BANK 0/DIMM0, 8 GB, DDR4, 2133 MHz, Kingston, 9905668-002.A00G
Memory Module: BANK 1/DIMM0, 4 GB, DDR4, 2133 MHz, Samsung, M471A5143EB0-CPB
Network Service: Android, Ethernet, en1
PCI Card: display, 3D Controller, Slot-1
PCI Card: Realtek RTL8107E PCI Express Fast Ethernet, Ethernet Controller, Ethernet
Serial ATA Device: TOSHIBA MQ01ABF050, 500,11 GB
Serial ATA Device: hp       DVDRW GUE1N
USB Device: USB 3.0 Bus
USB Device: Bluetooth Radio
USB Device: HP Wide Vision HD
USB Device: Android
USB Device: SVEN Wireless Mouse
Thunderbolt Bus:

Googled that this is a problem with font rendering
https://stackoverflow.com/questions/52540424/after... I
used the command in the terminal that is given. Rebooted - same thing.
Has anyone come across? How to solve the problem?
PS
10.14.2 Mojave
HP Pavilion 15-au029ur: Intel Core i5-6200U, Nvidia GeForce 940MX, 12GB RAM 2133Mhz

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Kokarev, 2019-01-06
@Drovosek01

System Integrity Protection: disabled
It's dangerous ... it would be better to turn it on from sin!
And here is the reason:
Library not loaded: @rpath/Electron Framework.framework/Electron Framework
/Applications/Visual Studio Code.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short

Toli downloaded crookedly, roofing felts installed wrong, but the specified framework = empty file

E
Edward Bailey, 2019-11-07
@edwardbailey

if you are facing difficulties in writing a code then i had a blog where you can find many course on coding. Learning a new skill like coding and programming is not difficult today given the plethora of online resources available such as courses and tutorials. Some of them are free and specifically designed for beginners, so even if you have no know-how of coding you can take the online coding courses and computer programming courses for beginners and learn to code for free! These courses cover the basics of coding and help you decide if you want to proceed to learn the advanced concepts of coding and take paid courses and certifications. https://www.goodcore.co.uk/blog/coding-vs-programming/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question