-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Panic
Pavel Diatchenko edited this page Sep 14, 2020
·
3 revisions
Please see this GitHub repo for general documentation.
Clone Gun, install dependencies and link globally:
cd <gun root>
npm install
npm link
Every time node packages change, you need to run the following:
cd node_modules/panic-client
npm link gun
For example, if you want to run the test load.js
:
cd <gun root>
npm run test test/panic/load.js
If:
- You see
Server error: Cannot find module 'gun'
; or - The test
1) GUN has spawned!
fails (indicated by red color);
then go back to setup.
If you see 1) Uncaught error outside test suite
, make sure there are no other Gun servers (or other services) running on the same port(s) and try again.
Feel free to jump on http://chat.gun.eco if you get stuck.