tessel / t1-start

[UNMAINTAINED] Tessel 1's getting started page
http://t1-start.tessel.io/
MIT License
32 stars 27 forks source link

Fix problem with node_modules in home directory #44

Closed garrows closed 10 years ago

garrows commented 10 years ago

I had someone at a workshop run npm init in their home directory. Even though they changed directory to tessel-code later, npm install will look a few directories up for a package.json file and put node_modules in there. This being the home directory, npm actually refuses to use ~/node_modules when running (but not install).

johnnyman727 commented 10 years ago

Good catch! Thanks @garrows.