gotron icon indicating copy to clipboard operation
gotron copied to clipboard

Using gotron-builder failed

Open shawnyip opened this issue 6 years ago • 5 comments

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 fix to fix them, or npm audit for 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

shawnyip avatar Mar 26 '19 03:03 shawnyip

The gotron-builder directory is empty after the run.

shawnyip avatar Mar 26 '19 03:03 shawnyip

Hi,

Trying to reproduce your problem.

  1. Which gotron-builder version are you using? You can check that via gotron-builder -v
  2. Can you specify which parameters you used for gotron-builder?
  3. Is gotron in your GOPATH?

Thanks

puengel avatar Mar 26 '19 09:03 puengel

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.

puengel avatar Mar 26 '19 15:03 puengel

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

shawnyip avatar Apr 02 '19 03:04 shawnyip

I have followed your instruction in #35 which is not success and I have left the result in #35 as comments.

shawnyip avatar Apr 02 '19 03:04 shawnyip