Search code examples
meteorchocolatey

The install of meteor was NOT successful using CHOCOLATEY. [METEORJS]


I am trying to install latest Meteor 1.6 using Chocolatey on windows.

My Windows configurations is

Processor - core i7, 2nd gen, 2.2 Ghz

RAM - 8 GB,

System Type - 64 bit

I also used below command in COMMAND PROMPT to start with installation,

choco install meteor -y --execution-timeout 10000

still I am facing below issue.

meteor v0.0.2 [Approved]

meteor package files install completed. Performing other installation steps.

Downloading meteor 64 bit
  from 'https://packages.meteor.com/bootstrap-link?arch=os.windows.x86_64'
  
Progress: 4% - Saving 8.12 MB of 171.74 MB

Download of meteor-bootstrap-os.windows.x86_64.tar.gz (171.74 MB) completed.

ERROR: Chocolatey expected a file at 'C:\Users\HP\AppData\Local\Temp\chocolatey\
meteor\0.0.2\meteor-bootstrap-os.windows.x86_64.tar.gz' to be of length '180086547' but the length was '8552029'.

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 -1) - Error while running 'C:\ProgramData\chocolatey\lib\meteo r\tools\chocolateyinstall.ps1'.
 See log for details.

Solution

  • I suggest do not use Windows CMD, better use Power Shell and the issue will be resolved.

    Chocolatey is behaving very strange as you can see my question with error log.

    Below is the success I got using Power Shell

    enter image description here