Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 739 Bytes

TROUBLESHOOTING.md

File metadata and controls

26 lines (24 loc) · 739 Bytes

Troubleshooting

npm permissions

If you are struggling with permission problems when using npm, you can try the following commands to avoid using sudo every time you have this troubles.

sudo chown -R $USER ~/.npm
sudo chown -R $USER .

Incorrect node version

If Unexpected token error occurs when you try to commit, please make sure you have installed nvm with node version 10 or higher as default. Use this command for get current default version

nvm alias default

Use this command for install specific node version (example with 10.16.0)

nvm install 10.16.0

Use this command for set node version as default

nvm alias default 10.16.0

Now try to commit.