Не удается обновить метеор, потому что он не может загрузить манифест

609
kenorb

Я meteorустановил через npmи хотел бы обновить его, но не могу. Я пробовал:

$ meteor update Failed to download manifest. 

но это не с:

Не удалось загрузить манифест.

Итак, я последовал предложению отсюда, но оно тоже не сработало:

$ curl -vs https://install.meteor.com | sh * Rebuilt URL to: https://install.meteor.com/ * Trying 52.73.238.209... * Connected to install.meteor.com (52.73.238.209) port 443 (#0) * SSL peer handshake failed, the server most likely requires a client certificate to connect * Closing connection 0 

Я не за прокси и другие сайты SSL нормально загружаются через curl, например

$ curl https://www.example.com <!doctype html> ... $ curl https://www.google.co.uk <!doctype html> ... 

Как мне обновить meteorпакет, или, может быть, есть какой-то другой простой способ добиться этого?


Моя среда (OS X):

$ meteor --version Meteor version 0.5.2 $ node --version v0.10.44 $ curl --version curl 7.43.0 (x86_64-apple-darwin15.0) libcurl/7.43.0 SecureTransport zlib/1.2.5 
1
Возможно, старая версия действительно не может подключиться. Я заметил, что `http: // install.meteor.com` перенаправляет на https, поэтому, скорее всего, старая версия не знает, как обрабатывать перенаправление. Вам нужно будет удалить старую версию, затем загрузить и установить последнюю версию вручную. harrymc 7 лет назад 1

1 ответ на вопрос

0
kenorb

When meteor update or npm fails, meteor can be installed/updated by using the Meteor install script available at https://install.meteor.com/.

However using curl it has some issues to deal with the old certificate.

So using wget instead seems to work fine:

wget -qO- https://install.meteor.com | sh 

If the old version of meteor was installed via npm, it should be uninstalled first:

npm remove meteor -g 

Похожие вопросы