Closed Kolobok12309 closed 2 years ago
launchEditor
is successfully calling the process to open WebStorm. It looks like WebStorm is just failing to load something Java related.
launchEditor(filePath, 'webstorm')
launches WebStorm with webstorm
as the terminal command.
launchEditor(filePath)
launches WebStorm with /Applications/WebStorm.app/Contents/MacOS/webstorm
as the terminal command.
If you run the above commands directly in a terminal, I expect you will have the same errors.
I don't think anybody here will be able to help you much, it's likely out of the scope of this library. However, my best guess from the error is that your WebStorm installation in the Applications folder is an older version as it references a JDK 11 that is not built for the M1 chipset.
Currently output if i try
launchEditor(filePath)
If i try
launchEditor(filePath, 'webstorm')
, all worked fine, but i think it's not normal