$ go get -u github.com/Nitecon/1Password
$ cd ~/go/src/github.com/Nitecon/1Password
$ ./build.sh
-->> Cleaning out build dir
-->> Cleaning out dist dir
-->> Installing dependencies
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN 1password@0.1.0 license should be a valid SPDX license expression
+ electron-debug@0.5.2
added 2 packages in 1.244s
-->> Upgrading all modules
--> Building server thread binaries
--> Building Linux 64
-> Building linux/amd64 server thread
-> Building linux/x86_64 application binary
./build.sh: line 20: /home/joel/go/src/github.com/Nitecon/1Password/node_modules/electron-packager/cli.js: No such file or directory
Linux 64bit Binary built: /home/joel/go/src/github.com/Nitecon/1Password/dist/1pass-linux-x64/1pass
No binary is built (notice the error message on the second-to-last line). Adding electron-packager as a dependency in package.json fixes this problem.
When trying to build the binary using go:
No binary is built (notice the error message on the second-to-last line). Adding
electron-packager
as a dependency inpackage.json
fixes this problem.