Comment on page
Troubleshooting
Common issues and how to fix them.
The sever is not running or the client can not reach it.
Often the node server will not start because there is already an instance of node running on port 8080. Kill the other instances and try again.
killall node
npm run dev // or nodemon in server folder
When the server is running you will see the
Welcome to Gravity 🚀
message in your terminal console.The setup script will run
npm link
but sometimes it may fail, run it again manually.npm link
This is usually an issue on certain windows shells.
Replace the ; in the
setup
script in package.json
with &&"setup": "node bin/installcheck && npm install && npm link && node bin/clientcheck && cd ../client && npm install && cd ../server && node bin/appcheck && cd ../app && npm install && cd ../server && node bin/setup.js && npm run dev",
Run the seed file to populate the database.
// sql
node seeds/sql
// mongo
node seeds/mongo
TOKEN_SECRET
in your Mission Control .env
file does not match the TOKEN_SECRET
in /server
.Last modified 2mo ago