Using gotron-builder failed
I am using gotron in Windows10. My app run smoothly. So, I packed my app by gotron-builder.
I put the executable somewhere in the PATH. However it return
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\user\package.json' npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\user\package.json' npm WARN user No description npm WARN user No repository field. npm WARN user No README data npm WARN user No license field.
- [email protected]
updated 1 package and audited 8300 packages in 3.649s
found 17 vulnerabilities (2 low, 13 moderate, 2 high)
run
npm audit fixto fix them, ornpm auditfor details 1553568735 FTL home/equa/repos/gotron/cmd/gotron-builder/main.go:64 > : : exec: ".gotron-builder\node_modules\.bin\electron-builder": file does not exist: exec: ".gotron-builder\node_modules\.bin\electron-builder": file does not exist: : exec: ".gotron-builder\node_modules\.bin\electron-builder": file does not exist: exec: ".gotron-builder\node_modules\.bin\electron-builder": file does not exist
The gotron-builder directory is empty after the run.
Hi,
Trying to reproduce your problem.
- Which gotron-builder version are you using? You can check that via
gotron-builder -v - Can you specify which parameters you used for gotron-builder?
- Is gotron in your
GOPATH?
Thanks
Hi,
Can you please verify if #35 fixes your issue.
Checkout pr #35 and run go build inside gotron/cmd/gotron-builder directory. Then try to pack your app with the new gotron-builder executable.
Sorry, too busy to reply.
--My gotron-builder version is v0.2.23. --I don't have provided any parameter to gotron-builder --My GOPATH=C:\Users\user\go;C:\Users\user;C:\Users\user\modgo-electron.gotron
I have followed your instruction in #35 which is not success and I have left the result in #35 as comments.