问题
I wanted to install Meteor via
curl https://install.meteor.com | /bin/sh
like it's said in the documentation.
Every time I try this (also as sudo), I get this error:
**rmdir: /Users/christophz/.meteor-install-tmp: Directory not empty
Installation failed.**
The directory, of course, is empty before installation. After aborting the installation in my home folder there IS .meteor and still .meteor-install-tmp. But trying to create a new meteor app fails. My command line says it doesn't know this command.
I didn't find anything via Google. Can u help me and give me some hint?
回答1:
Try deleting the directory. I think this happened to me once.
回答2:
Did you try rm -rf
? With or without sudo:
rm -rf ~/.meteor-install-tmp
rm -rf ~/.meteor
来源:https://stackoverflow.com/questions/18685314/meteor-js-installation-failed