Open hugo-akaora opened 3 days ago
I updated the Docker file in order to use npx
to launch single-file
. Does this change impact your issue?
Hello, now I don't have the same error with 2.0.64:
(node:17) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/usr/src/app/node_modules/single-file-cli/single-file-node.js:3
import { run } from "./single-file-launcher.js";
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (node:internal/modules/cjs/loader:1281:20)
at Module._compile (node:internal/modules/cjs/loader:1321:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49
Node.js v20.15.1
Okay, I wasn't able to build it myself on Raspberry Pi, where as it seems that the fork https://github.com/jasongzy/single-file-cli is able to push the last version to Docker Hub on arch arm64. So I guess the code is okay
Hello,
I built properly single-file-cli under arm64 raspberry:
Image is properly built.
But it seems that something is missing :
Did I forgot something?
Thank you, very nice addon!