Fork me on GitHub
#figwheel-main
<
2021-08-09
>
il-tmfv13:08:54

Hi! After updating to macos 11.5.1 with M1 chip I started to get this error when starting figwheel-main :

Syntax error (NoClassDefFoundError) compiling at (/private/var/folders/m8/xtnsq6gn2k9d3l4n362z9p080000gn/T/form-init5239701982387845518.clj:1:125).
Could not initialize class com.barbarysoftware.jna.CarbonAPI
$ java -version                              
openjdk version "1.8.0_302"
OpenJDK Runtime Environment (Zulu 8.56.0.23-CA-macos-aarch64) (build 1.8.0_302-b08)
OpenJDK 64-Bit Server VM (Zulu 8.56.0.23-CA-macos-aarch64) (build 25.302-b08, mixed mode)
This setting helps:
:hawk-options {:watcher :polling}
but feels not great. Have anyone else started to experience this? I see that there is an issue already for earlier version of macos: https://github.com/bhauman/figwheel-main/issues/253

il-tmfv14:08:26

switching to 0.2.14-SNAPSHOT doesn’t help :/