vuejs / devtools-v6

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools-v6.vuejs.org/
MIT License
24.69k stars 4.14k forks source link

not working open in editor in the webstorm for m1 #1668

Open Vi161 opened 2 years ago

Vi161 commented 2 years ago

Version

6.0.0-beta.21

Browser and OS info

Chrome Версия 97.0.4692.71/ MacOS Monterey 12.0.1

Steps to reproduce

open project in the WebStorm 2021.3.1 for silicon click to "open in editor"

What is expected?

open file in webstorm

What is actually happening?

2022-01-20 10:37:19.423 webstorm[14362:1649028] allVms required 1.8*,1.8+ 2022-01-20 10:37:19.432 webstorm[14362:1649046] Cannot load JVM bundle: Error Domain=NSCocoaErrorDomain Code=3585 "dlopen_preflight(/Applications/WebStorm.app/Contents/jbr/Contents/MacOS/libjli.dylib) => false, tried: '/Applications/WebStorm.app/Contents/jbr/Contents/MacOS/libjli.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/libjli.dylib' (no such file)" UserInfo={NSLocalizedFailureReason=The bundle doesn’t contain a version for the current architecture., NSLocalizedRecoverySuggestion=Try installing a universal version of the bundle., NSFilePath=/Applications/WebStorm.app/Contents/jbr/Contents/MacOS/libjli.dylib, NSDebugDescription=dlopen_preflight(/Applications/WebStorm.app/Contents/jbr/Contents/MacOS/libjli.dylib) => false, tried: '/Applications/WebStorm.app/Contents/jbr/Contents/MacOS/libjli.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/libjli.dylib' (no such file), NSBundlePath=/Applications/WebStorm.app/Contents/jbr, NSLocalizedDescription=The bundle “OpenJDK 11.0.13” couldn’t be loaded because it doesn’t contain a version for the current architecture.}

Could not open VFilter.vue in the editor. The editor process exited with an error: (code 255).

To specify an editor, specify the EDITOR env variable or add "editor" field to your Vue project config.


[JetBrains] answeared me: Hello!

this is a problem with binaries compatibility - looks as if chrome vue-devtools are built for Intel architecture, whereas WebStorm is built for Apple Silicon. You can try downloading the x86_64 version

but x86_64 for intel and slowly work in the m1

jethroHuang commented 2 years ago

I have also encountered this problem, may I ask how to install vue-devTools of M1

jethroHuang commented 2 years ago

I found the reason. I need to install the ARM version of Node.js. The problem was resolved when I installed [Node.js v16.14 of ARM]

eldermass commented 2 years ago

Is there a solution when i use node which version is 14?

brucekong commented 2 years ago

Is there a solution when i use node which version is 14?

the same question.

MatthewTt commented 1 year ago

I use node version is 16.13.2. not work

$ node -e "console.log(process.arch)"
arm64
sunpm commented 1 year ago
image image

the same question

Smef commented 6 months ago

This is related to your IDE configuration and not this package. If you use the CLI to launch your IDE using the CLI command idea, phpstorm, webstorm or whatever your IDE is, you'll get the actual error message which is causing the problem. It may be related to plugin dependencies being disabled.