Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using gotron-builder failed #33

Open
shawnyip opened this issue Mar 26, 2019 · 5 comments
Open

Using gotron-builder failed #33

shawnyip opened this issue Mar 26, 2019 · 5 comments

Comments

@shawnyip
Copy link

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.

  • electron-builder@20.39.0
    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
Copy link
Author

The gotron-builder directory is empty after the run.

@puengel
Copy link
Collaborator

puengel commented Mar 26, 2019

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
Copy link
Collaborator

puengel commented Mar 26, 2019

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.

@shawnyip
Copy link
Author

shawnyip commented Apr 2, 2019

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
Copy link
Author

shawnyip commented Apr 2, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants