Sometimes switching front-end projects can keep work interesting and fun. Other times, it can lead to high blood pressure and an urge to throw your mouse in the bin. This troubleshooting article is meant to save the lives of all those mice.
Provide steps that the user can take to solve the problem. For example "The level 7 printer will flash red when it is out of paper. Add paper to tray 1".
If you switch from a branch to another (eg. mnoe-admin-panel#1.0 to mnoe-admin-panel#2.0), dependencies versions can be corrupted:
# Delete 'node_modules' and 'bower_components' folders from the project rm -rf node_modules/ bower_components/ # Re-install the correct dependencies versions npm install && bower install |
# Install node v6 nvm install 6 # List the versions available nvm list # Switch to node v6 nvm use 6 |
If you are receiving errors because of a missing package or missing command, installing it locally in the project may not remedy the error. In this case try installing the package globally via multiple channels (process of elimination). Ex. "yarn add global...", "npm install -g...", "bower install -g..."
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|