Updating MeteorJS not working, running "meteor --version" or "meteor update" causes an error - meteor

I am trying to work on an old project that was using Meteor 1.8.1 at the time of its last commit. I have tried updating it by running "meteor --version" and "meteor update", but in both situations, the terminal will say "Downloading meteor-tool#1.8.1..." for about a minute before throwing the following error:
Sorry, this project uses Meteor 1.8.1, which is not installed and could not be downloaded. Please check to make
sure that you are online.
I am most definitely online, so I do not know what the error is. Any help would be greatly appreciated.

Related

Why do I get "sh: next: command not found" when running a cloned nextjs app?

I've cloned a nextjs example repo locally, and tried to run it using npm run dev, but it's not finding "next" as a command?
sh: next: command not found
I googled it, suggestions seemed to be that I should run
npm i -g create-next-app
Which I did, but still get the same error?
How can I resolve this?
For my particular case, I forgot to run npm install in the repo I'd just cloned :D
Once I did that, running npm run dev worked fine and found next.
But I suspect in general if you're trying to run a cloned repo based on npm, and get a similar response, you may simply have forgotten to install your dependencies, like I did.
Note that this can also happen for an existing project if you have some script that removes the node_modules folder as part of a cleanup process (which I do as well)

"Type Error: semver is not a constructor" when running new Meteor project?

I was following the "simple-todos" tutorial provided by Meteor but when I came to running the "meteor" command within my newly created project on my Desktop using the "meteor create simple-todos" command in the terminal, it comes up with; Type Error: semver is not a constructor.
I have tried re-installing meteor completing and it comes up with the same error, as well as creating the project within my User directory and not in my desktop.
I cannot move forward with the tutorial as it instructs you to visit localhost:3000, but when I go there, it says cannot load page or similar.
Any help will be greatly appreciated.

Meteor adding okgrow:accounts-ui-react atmosphere package not working

I am running a Meteor 1.4.2.3 application and everything has been running fine so far. I have been following the Level Up Tutorials and I've come to a point where I want to add user accounts.
In order to do that I'm using the `okgrow:accounts-ui-react' atmosphere package which can be found here.
I've followed all the steps by running the following 3 lines in the console:
> meteor add okgrow:accounts-ui-react
> npm install --save react-komposer classnames
> meteor add accounts-password
Those commands all ran successfully.
Now when I want to start my Meteor application by running meteor in the console I get the following error:
Does anyone know what I could be doing wrong?
Things I have tried that haven't solved it:
Updating all my meteor packages using the meteor update --all-packages command
Deleting the node_modules folder and running 'meteor' again.
The issue here is that React Komposer completely changed their api in the latest version for some reason. There is an outstanding issue regarding this here:
https://github.com/okgrow/accounts-ui-react/issues/4
In the meantime, I'd suggest https://github.com/studiointeract/accounts-ui as development has continued on it again.

Meteor giving error for any command - "Meteor 1.0.1 is not installed and .."

I had started learning Meteor a few weeks ago, then had to put it on hold. Now, when I am trying to create a new app by meteor create myapp or meteor --help or just about anything, I only get the following message:
Sorry, Meteor 1.0.1 is not installed and could not be downloaded.
Please check to make sure that you are online.
There is no problem with my internet connection and I'm not sure what's happening here. I'm on Linux Mint 17. (I think my meteor version is 1.0)
Take a look at your .meteor directory. There has to be a file, called release. In this file must be ONLY one line.
METEOR#1.0.1
So, please check this first and give feedback for more help. :)

Meteor app hangs

Working through Discover Meteor and just getting started is causing some headaches.
I ran the following:
mrt create microscope
mrt
Which gave me the output:
Stand back while Meteorite does its thing
Done installing smart packages
Ok, everything's ready. Here comes Meteor!
[[[[[ ~/Projects/microscope ]]]]]
livedata: updating npm dependencies -- sockjs, websocket...
It just hangs, then eventually localhost:3000 would return a "No data received" error. Any ideas?
Looks like it was a network connection problem - on subsequent runs the app runs fine.

Resources