简体   繁体   中英

Cannot Debug with Intellij

I am working on a Java project using JDK 18 on an M1 Macbook Pro. I have been able to run my programs but have been unable to use the debug feature. When I try I get this error:

dyld[30918]: missing symbol called

you may try like this:
1.Start a new shell using Rosetta2

$ arch -x86_64 zsh

2.In that shell, reinstall the x64 version of Node.js

$ nvm use system
$ nvm cache clear
$ nvm uninstall 16 # or the version you need
$ nvm install 16   # or the version you need
$ nvm use 16       # or the version you need

3.Still in that shell, reinstall and build npm dependencies from scratch

$ rm -rf node_modules
$ yarn cache clean
$ yarn install

so you may cope with the problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM