JulianNorton / weather-10kb-wxkb

Weather forecast that's high performance and accessible
https://wxkb.juliannorton.com
GNU General Public License v2.0
152 stars 49 forks source link

Resolve unit test script mocha error #142

Closed JulianNorton closed 7 years ago

JulianNorton commented 7 years ago

What's the current situation?

Unit test documentation is not working. Tried npm test and it says mocha: not found. Tried doing sudo npm install and still the same result.

What do you recommend?

Update the documentation with any troubleshooting solutions: https://github.com/JulianNorton/weather-10kb/wiki/Unt-Tests

JulianNorton commented 7 years ago

https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04 fixed it along with deleting node modules and reinstalling thanks to @loctn.

loctn commented 7 years ago

Awesome, glad this worked! 😄