Closed TheAjaykrishnanR closed 10 months ago
Hi @AjaykrishnanR-axon,
Thanks for considering using caxa.
I’ve been thinking about the broad strategy employed by caxa and concluded that there is a better way to solve the problem. Can you please give it a try and see if it works for your case?
It’s a different enough approach that I think it deserves a new name, and it’s part of a bigger toolset that I’m building, which I call Radically Straightforward · Package.
I’m deprecating caxa and archiving this repository. I invite you to continue the conversation in Radically Straightforward’s issues.
Best.
There is a nodejs project that i am trying to make a standalone windows executable of, it runs fine with:
npm run start
ornode dist/bundle/start.js
Using caxa I try:
npx caxa -i . -o "test.exe" -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/dist/bundle/start.js"
which successfully creates test.exe, but open running the executable i'm met with:
I tried searching online for this error and seem to find references of "circular dependency" which i am not entirely familiar about. Apparently Database.js has:
const Config_1 = require("../entities/Config");
Is there a way to fix this error since the app runs fine through node