diff --git a/core/nodejs-install-helper.js b/core/nodejs-install-helper.js
index 9e0a54ee..30aa74fc 100644
--- a/core/nodejs-install-helper.js
+++ b/core/nodejs-install-helper.js
@@ -6,7 +6,7 @@
 import { join } from "path";
 import fs from "fs";
 import https from "https";
-import pkg from "./package.json" assert { type: "json" };
+import pkg from "./package.json" with { type: "json" };
 import { exec } from "child_process";
 let { version } = pkg;