docs(local): add npm clean command (#35072)

pull/35144/head
Kristofer Koishigawa 2019-02-11 19:58:05 +09:00 committed by mrugesh mohapatra
parent 7580d58f1c
commit c779246645
1 changed files with 4 additions and 3 deletions

View File

@ -446,8 +446,9 @@ There might be an error in the console of your browser or in Bash / Terminal / C
If the app launches but you are encountering errors with the UI itself, for example if fonts are not being loaded or if the code editor is not displaying properly, you may try the following troubleshooting steps at least once:
```shell
# Remove all installed node modules
rm -rf node_modules ./**/node_modules
# We use a mono repo and have multiple components (server, client, tools, plugins, etc.)
# Use this command to clean up all dependencies in all of the components
npm run clean
# Reinstall npm packages
npm install
@ -458,6 +459,6 @@ npm run bootstrap
# Seed the database
npm run seed
# Re-start the application
# Restart the application
npm run develop
```