We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6226d3 commit bb5714fCopy full SHA for bb5714f
src/download.js
@@ -1,5 +1,7 @@
1
import { downloadNodeBinary, fetchLatestNodeVersion } from "./nodeDownloader.js";
2
-import platforms from "./platforms.json" assert { type: 'json' };
+import fs from 'fs';
3
+const platforms = JSON.parse(fs.readFileSync('./platforms.json', 'utf-8'));
4
+
5
6
(async () => {
7
try {
0 commit comments