I am facing trouble running a meteor app using it behind proxy. I am trying to run a meteor app using the following commands -
cd C:\\Users\\username\\AppData\\Local.meteor\\myapp1> meteor
Before going to the meteor directory I am also setting the proxy like this -
SET HTTP_PROXY= http://username : password:pwd
SET HTTPS_PROXY= http://username : password:pwd
meteor update
But this doesn`t seem to work and shows the following message -
Can anyone tell me what am I doing wrong here?
This error has nothing to do with being behind a proxy. It means your shell does not understand what the meteor
command is.
Make sure meteor has been added to your PATH and if not, add it manually.
On Windows 10
Make sure you see C:\\Users\\<username>\\AppData\\Local\\.meteor
in there and if not, add it!
Also, I would advise you keep your Meteor projects in an easier to remember place (eg not in C:\\Users\\<username>\\AppData\\Local\\.meteor
). Perhaps somewhere inside your Users folder?
On a side note, your approach for dealing with the proxy is correct (eg setting HTTP_PROXY
and HTTPS_PROXY
). It should work once you fix your other issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.