For those who have landed here, like me, this is usually a problem with the tmp folder in the root directory, followed by npm trying to install from the cache. This should fix this:
rm -rf ~/tmp sudo npm cache clear sudo npm install -g meteorite
If you still get the ENOTDIR error, you can try to make the directory yourself, clear the cache and reinstall, but it seems that deleting the tmp folder usually does the trick.
Suitable for Coombesy to publish this solution here .
Nick Benes Oct 02 '13 at 10:38
source share