Meteor patch 1.4.1.3 update error

Hi all,

My Meteor app wants to update to 1.4.1.3 on my Windows 2012 R2 server, but it’s showing the following error:

C:\Users\srahman-a\AppData\Local.meteor\packages\meteor-tool\1.4.1_1\mt-os.win
dows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:165
throw error;
^

Error: unexpected eof
at decorate (C:\Users\srahman-a\AppData\Local.meteor\packages\meteor-tool
1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib\abstract.j
s:67:36)
at Extract.Abstract.error (C:\Users\srahman-a\AppData\Local.meteor\package
s\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream
lib\abstract.js:61:12)
at Extract._streamEnd (C:\Users\srahman-a\AppData\Local.meteor\packages\me
teor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\tar\lib\extr
act.js:91:35)
at BlockStream. (C:\Users\srahman-a\AppData\Local.meteor\packag
es\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\tar\lib
\parse.js:51:8)
at emitNone (events.js:67:13)
at BlockStream.emit (events.js:166:7)
at BlockStream._emitChunk (C:\Users\srahman-a\AppData\Local.meteor\package
s\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\block-st
ream\block-stream.js:203:10)
at BlockStream.resume (C:\Users\srahman-a\AppData\Local.meteor\packages\me
teor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\block-stream
\block-stream.js:58:15)
at Extract.Reader.resume (C:\Users\srahman-a\AppData\Local.meteor\packages
\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\l
ib\reader.js:242:34)
at Entry. (C:\Users\srahman-a\AppData\Local.meteor\packages\met
eor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\tar\lib\parse
.js:261:8)
at emitNone (events.js:67:13)
at Entry.emit (events.js:166:7)
at Entry.resume (C:\Users\srahman-a\AppData\Local.meteor\packages\meteor-t
ool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\tar\lib\entry.js:9
3:8)
at DirWriter.ondrain (stream.js:41:14)
at emitNone (events.js:67:13)
at DirWriter.emit (events.js:166:7)
at DirWriter._process (C:\Users\srahman-a\AppData\Local.meteor\packages\me
teor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib
dir-writer.js:87:10)
at DirWriter.end (C:\Users\srahman-a\AppData\Local.meteor\packages\meteor-
tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib\dir-w
riter.js:53:8)
at Entry.onend (stream.js:59:10)
at emitNone (events.js:72:20)
at Entry.emit (events.js:166:7)
at Entry._read (C:\Users\srahman-a\AppData\Local.meteor\packages\meteor-to
ol\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\tar\lib\entry.js:12
4:12)
at Entry.resume (C:\Users\srahman-a\AppData\Local.meteor\packages\meteor-t
ool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\tar\lib\entry.js:9
5:8)
at resume (C:\Users\srahman-a\AppData\Local.meteor\packages\meteor-tool\1.
4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib\collect.js:6
2:16)
at unblockEntry (C:\Users\srahman-a\AppData\Local.meteor\packages\meteor-t
ool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib\collec
t.js:43:28)
at Entry. (C:\Users\srahman-a\AppData\Local.meteor\packages\met
eor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib\c
ollect.js:47:9)
at DirWriter. (C:\Users\srahman-a\AppData\Local.meteor\packages
\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\l
ib\dir-writer.js:146:11)
at emitNone (events.js:67:13)
at DirWriter.emit (events.js:166:7)
at C:\Users\srahman-a\AppData\Local.meteor\packages\meteor-tool\1.4.1_1\mt
-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib\dir-writer.js:38:10
at C:\Users\srahman-a\AppData\Local.meteor\packages\meteor-tool\1.4.1_1\mt
-os.windows.x86_32\dev_bundle\lib\node_modules\mkdirp\index.js:30:20
at FSReqWrap.oncomplete (fs.js:82:15)

Any ideas why this is happening?

Having the same trouble on Mac. Still debugging…

This is an unfortunately a CDN error where the CDN is straight-up closing the connection on the download before it’s complete. MaxCDN recently got acquired and they are doing some “maintenance”:

Mac/Unix: See this work around
Windows: See this work around

Just use meteor update --release 1.4.1.3 as the second command after you set the METEOR_WAREHOUSE_URLBASE to the old CDN.

1 Like

It actually works without issue from today, where I changed nothing. Maybe their maintenance is over? Either way, I will be moving to Ubuntu after this and another issue I have where I can’t get bcrypt working with accounts-password.