Gong is an XMPP chat client made with Electron and React.
config.json
file.libsecret
installed run sudo apt-get install libsecret-1-dev
before running npm install
.npm install
at the project root in your terminal of choice.Run npm start
to start the application
Run npm run dist
to build the application. Build files will be outputted to the /dist
folder.
The app will update based off of GitHub releases. If you find that your application is behaving strange deleting the config.json
file may fix any issues. This will reset any user credentials, custom theme settings, and saved rooms.
The location of the config.json
file is different depending on your operating system. Typical locations are below.
C:\Users\<username>\AppData\Roaming\gong\config.json
~/.config/gong/config.json
~/Library/Application Support/gong/config.json
Error: ENOSPC: System limit for number of file watchers reached, watch
run echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Error: Chunk.entrypoints: Use Chunks.addGroup instead
you may have to run npm install -D extract-text-webpack-plugin@next
. See this github issue for more info....\app.asar: The process cannot access the file because it is being used by another process.
Close any IDEs that have this project open and run the command from terminal. See this github issue for more info.If you are having issues with Keytar and seeing errors like the code below run the commands below it. See this github issue for more info.
events.js:174
throw er; // Unhandled 'error' event
^
Error: spawn /<project directory>/gong/node_modules/electron/dist EACCES
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:757:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
[... lines matching original stack trace ...]
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
.\node_modules\.bin\electron-rebuild
../node_modules/.bin/electron-rebuild
.C:/Users/<username>/AppData/Roaming/gong
.