diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6b3384cb60271c8a75e1867899655df0707d7f2e..3b1ab781b0f3285eaf595141e11d4cd8ec1d727b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -695,7 +695,7 @@ else()
         # Build nodejs binding
         add_custom_target(jamid
             ALL
-            COMMAND node-gyp rebuild --target=v18.19.1 --arch=x64
+            COMMAND node-gyp rebuild --target=v22.4.1 --arch=arm64
             DEPENDS
             ${CMAKE_CURRENT_SOURCE_DIR}/bin/nodejs/binding.gyp
             ${CMAKE_CURRENT_SOURCE_DIR}/bin/nodejs/callback.h