How to update meteor app from 0.9.4 to 1.0.0?

Meteor sample application, the microscope is version 0.9.4 when I try to use the meteor run command to start the application.

There is a print: Unfortunately, this project uses Meteor METEOR @ 0.9.4, which is not installed and could not be downloaded. Please check that you are online.

I am behind the proxy server.

When I install Meteor, only the latest version 1.0.0 can be installed.

  • How can i do
  • Update the application to 1.0.0 and how?
  • Lower meteorite to 0.9.4 and how?

I tried using meteor update --release 0.9.4 , did not work or used meteor update , another error appears:

 /home/hunter/.meteor/packages/meteor-tool/.1.0.35.hgbesu++os.linux.x86_32+web.browser+web.cordova/meteor-tool-os.linux.x86_32/dev_bundle/lib/node_modules/fibers/future.js:206 throw(ex); .. Error: tunneling socket could not be established, cause=socket hang up at Object.Future.wait (/home/hunter/.meteor/packages/meteor-tool/.1.0.35.hgbesu++os.linux.x86_32+web.browser+web.cordova/meteor-tool-os.linux.x86_32/dev_bundle/lib/node_modules/fibers/future.js:326:15) at _.extend._createSocket (packages/ddp/stream_client_nodejs.js:265) at _.extend._launchConnection (packages/ddp/stream_client_nodejs.js:142) at new LivedataTest.ClientStream (packages/ddp/stream_client_nodejs.js:28) at new Connection (packages/ddp/livedata_connection.js:52) at Object.DDP.connect (packages/ddp/livedata_connection.js:1581) 

This should be a proxy problem.

There is no document after the search.

+5
source share
5 answers

I was able to successfully upgrade the project from 0.9.3.1 to 1.1 with

 meteor update 
+13
source

Using meteor run as follows:

 meteor run --release 

... do not update the meteor setting, but download --release and run the current application with it.

+5
source

I had a similar problem after updating the meteor to 1.4.1. I managed to fix this with the Github Issue

  • Reset your application

    Meteor reset

  • Install npm with meteorite again

    meteor npm install

  • Repair npm (optional)

    meteor npm rebuild

+2
source

This is a bit late and a little different: I have a similar problem when I upgraded from 1.0.3.1 to 1.0.3.2. After reading the answers here and here , I tried the following, which worked for me:

 meteor update --release <new version> 

replacing <new version> with the latest version that you are using. This updated my project and subsequent runs using meteor work as expected.

+1
source

I had to update by changing the .meteor / release file in meteor 1.0. I had problems with packages, I also noticed that the internal actions of the internal router have changed (I fixed this by setting the file upload order), and on Meteor 1.0 you have a package for everything.

Try adding the meteor-platform package, its meta package containing the most used packages.

I also had a question with some atmosphere packages, its hard work to update it.

0
source

Source: https://habr.com/ru/post/1205922/


All Articles