It seems I can not download meteor from a Windows machine behind a proxy.
I could do this before, without any problems. Npm works without problems, though.
What I don’t get is why npm install -g meteor says meteor is already installed. Of course there are many versions installed, but not 2.6.1. Please take a look at the image:
Try with version 2.5.6, I think there might have been some fixes there. The proxy thing might be an issue. I wonder if you could try on Windows to use the command line install.
Well, I just tried to install version 2.5.6 as @storyteller suggested but with same results.
Then I executed just $ npm install -g meteor (without specific version) to try installing the brand new version of meteor: 2.7. The result is exactly the same:
$ npm install -g meteor
C:\Users\<userNameL>\AppData\Roaming\npm\meteor-installer -> C:\Users\<userNameL>\AppData\Roaming\npm\node_modules\meteor\cli.js
> meteor@2.7.0 install C:\Users\<userNameL>\AppData\Roaming\npm\node_modules\meteor
> node cli.js install
Meteor is already installed at C:\Users\<userNameL>\AppData\Local\.meteor
If you want to reinstall it, run:
$ meteor-installer uninstall
$ meteor-installer install
+ meteor@2.7.0
updated 1 package in 5.441s
Administrador@contaserver MINGW64 ~
$
What I think is the installation gets messed up somewhere and thinks meteor is already installed. Of course it is installed, but several different versions. Look at the message:
Meteor is already installed at C:\Users<userNameL>\AppData\Local.meteor
But, shouldn’t that path be:
C:\Users<userNameL>\AppData\Local.meteor\packages\meteor-tool
I think for some reason the installer fails on Windows, maybe not in Linux.
Is there someway to tell the installer that the path is:
C:\Users<userNameL>\AppData\Local.meteor\packages\meteor-tool
And not
C:\Users<userNameL>\AppData\Local.meteor
What I’ve also found is that meteor-installer uninstall and meteor-installer install also do not work on Windows (I’m using Windows 11). I have to either remove or rename the .meteor directory and then install.
@kheang, that is what I said I have to do. See above. I’m just pointing out that meteor-installer uninstall and meteor-installer install do not work, or I can’t get them to work.
Stupid question but did you try to go to the AppData/Roaming/npm folder and execute meteor-installer uninstall ?
I am doing some tests on my Windows 10 home PC and at first it worked and then couldn’t find the PATH anymore so I had to manually type in the full path in order to run that executable to uninstall meteor.
I noticed that in Powershell when I type the full path, it opens a cmd prompt window to run it.
I also tested it in cmd window run as admin and it worked for me.
That’s odd because on my PC i do have AppData/Roaming/npm/meteor-installer there.
That’s how I was able to uninstall it using that command.
Maybe if you do a search and find where meteor-installer is and type the full path it would work.
But just guessing.
I just looked at the meteor-installer file and all it does is execute the cli.js
So I tested with