Meteor 1.6 fails while installing

While trying to install Meteor 1.6 it returns this error. This has happened twice when I ran the same command choco install meteor , what am I to do right?

PS C:\WINDOWS\system32> choco install meteor
Chocolatey v0.10.8
Installing the following packages:
meteor
By installing you accept licenses for the packages.
Progress: Downloading meteor 0.0.1... 100%

meteor v0.0.1 [Approved]
meteor package files install completed. Performing other installation steps.
The package meteor wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): y

Downloading meteor 64 bit
  from 'https://packages.meteor.com/bootstrap-link?arch=os.windows.x86_64'
Progress: 20% - Saving 28.89 MB of 140.52 MB                                                                           E
RROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://packages.meteor.com/bootst
rap-link?arch=os.windows.x86_64'. Exception calling "Read" with "3" argument(s): "Received an unexpected EOF or 0 bytes
from the transport stream."
This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.
The install of meteor was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\meteor\tools\chocolateyinstall.ps1'.
 See log for details.

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - meteor (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\meteor\tools\chocolateyinstall.ps1'.
 See log for details.

Did you know the proceeds of Pro (and some proceeds from other
 licensed editions) go into bettering the community infrastructure?
 Your support ensures an active community, keeps Chocolatey tip top,
 plus it nets you some awesome features!
 https://chocolatey.org/compare
PS C:\WINDOWS\system32>

It may be your connection. Have you tested that the download works if you browse directly to https://packages.meteor.com/bootstrap-link?arch=os.windows.x86_64?

1 Like

I am getting the same error on Windows 10 environment.

ERROR: The remote file either doesn’t exist, is unauthorized, or is forbidden for url ‘https://packages.meteor.com/bootstrap-link?arch=os.windows.x86_64’. Exception calling “Read” with “3” argument(s): "Received an unexpected EOF or 0 bytes from the transport stream."
This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.
The install of meteor was NOT successful.
Error while running ‘C:\ProgramData\chocolatey\lib\meteor\tools\chocolateyinstall.ps1’.

The download to above link provided by you in the post works correctly.

Need advice. Appreciate it

Did you let finish the downloading of the whole file?
It seems -like @robfallows says- a connection issue…

1 Like

I was 3rd time lucky. Meteor installed successfully :slight_smile: … Indeed was a connection issue.

@siddarthaprasad thanks I got passed this after many days trial.

1 Like

I’ve successfully downloaded but looks like it’ll extracting whole year…

C:\WINDOWS\system32>choco install meteor
Chocolatey v0.10.8
Installing the following packages:
meteor
By installing you accept licenses for the packages.
Progress: Downloading meteor 0.0.2... 100%

meteor v0.0.2 [Approved]
meteor package files install completed. Performing other installation steps.
The package meteor wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): Y

Downloading meteor 64 bit
  from 'https://packages.meteor.com/bootstrap-link?arch=os.windows.x86_64'
Progress: 100% - Completed download of C:\Users\PZPS0813\AppData\Local\Temp\chocolatey\meteor\0.0.2\meteor-bootstrap-os.windows.x86_64.tar.gz (171.74 MB).
Download of meteor-bootstrap-os.windows.x86_64.tar.gz (171.74 MB) completed.
Extracting C:\Users\PZPS0813\AppData\Local\Temp\chocolatey\meteor\0.0.2\meteor-bootstrap-os.windows.x86_64.tar.gz to C:\Users\PZPS0813\AppData\Local\Temp\chocolatey\meteor\0.0.2...
C:\Users\PZPS0813\AppData\Local\Temp\chocolatey\meteor\0.0.2
Extracting C:\Users\PZPS0813\AppData\Local\Temp\chocolatey\meteor\0.0.2\meteor-bootstrap-os.windows.x86_64.tar to C:\Users\PZPS0813\AppData\Local...

Disable windows defender for the install

99% of Windows issues with Meteor are caused by anti-virus slowing down file operations, as there are A LOT of files involved in node apps.

I’ve added exclusions to Windows Defender for

  • node.exe
  • 7z.exe
  • choco.exe
  • and the meteor folder at C:\Users%USERNAME%\AppData\Local.meteor\

This speeds up installs, updates, and builds by about 500%

1 Like

@coagmano , I disabled my windows defender, I tried with both windows 7 and 10. I tried with both cmd and powershell but still I can’t installed it throw chocolatey. I even tried it in another place on another PC but no luck. Can it be because of Sanctions against Iran? If so, what do you suggest?

Blockquote
ERROR: The remote file either doesn’t exist, is unauthorized, or is forbidden for url ‘https://packages.meteor.com/bootstrap-link?arch=os.windows.x86_64’. Exception calling “GetResponse” with “0” argument(s): “Unable to connect to the remot
e server”
This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.
The install of meteor was NOT successful.
Error while running ‘C:\ProgramData\chocolatey\lib\meteor\tools\chocolateyinstall.ps1’.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
meteor (exited 404) - Error while running ‘C:\ProgramData\chocolatey\lib\meteor\tools\chocolateyinstall.ps1’.
See log for details.

Installing Meteor is such a nightmare that it’s almost a no-go for new Meteor users on Windows. Then the build/rebuild times (and forget about updating a Meteor project) are SO SLOW - on NVMe. It’s better with Defender turned off, but honestly, it could still be faster… The problem is, end users are not going to blame Windows Defender or some node.js problem, they are going to blame Meteor.

There’s also the interesting challenge of making meteor only recompile the front end when working on React components, instead of rebuilding everything. That could yield quite a perceived performance boost.

Of course it’s a nightmare I have worked with meteor a year ago in that time it has installer but now with choco I’m not enable to install it. I disabled the Windows Defender but not helping at all.