Skip to content

Developers: Troubleshooting

smitmad9 edited this page Aug 3, 2020 · 10 revisions

Docker Images

If you suspect that the docker images are not building correctly on your local machine, you may want to clear the cache and/or reset to default settings.

  • Docker -> Troubleshoot -> Clean / Purge Data
  • Docker -> Troubleshoot -> Reset to factory defaults

You can also restart docker and/or run diagnostics to detect any issues with docker desktop.

  • Docker -> Troubleshoot -> Restart
  • Docker -> Troubleshoot -> Run Diagnostics

If none of these work, restart your computer.

Development Server

If there is a lag in Terminal after "Starting the development server..." is printed, this may have been caused by react-scripts version 3.4.1. See the Github issue. You can find the version of each module in the package.json file. Until a fix is released, the best solution is to ensure that the react-scripts is installed as version 3.4.0 using npm install [email protected]. If reinstalling the module with the correct version didn't fix the problem, remove the node_modules/ directory and run npm install again to clean out any unneeded packages.

Note: Once a fix is released for react-scripts, we will update to the newer version.

MongoDB Connection

If you see this error:

Double check that your current IP address is listed under the Network Access tab in the MongoDB Atlas cluster: