Meteor is hanging on me,Need some help?

Hi,
I’m pretty new to web development and just finished the basics of html5,javascript,and css.
However, I just started using meteor today and running into issues in which meteor would just hang on “Starting your app”.I am using windows 8.1 and windows power shell to run commands.I’m sure this problem has occurred with other people.What I think it is is most likely meteor is not connecting to mongoDb and I tried to fix this to no avail.

Thanks ahead of time

Hi there

My advice is to use Linux on a virtual box. I fought with Meteor on windows for a while but it’s not worth it imo and it usually only takes minutes to set up a virtual dev machine.

My notes:
Download and install VirtualBox
Download and unpack Linux Mint Mate Version VirtualBox (VDI) 64bit http://www.osboxes.org/linux-mint/

Create a virtual machine in VirtualBox
Type: Linux
Version: Ubuntu (64 bit)
Memory size: 4 gig or half of your available memory if you have less than 8 gig
Hard disk: Use an existing and point to the linux image you unpacked

Start up your shiny new Linux devbox
Password is osboxes.org

In Virtual Box:
Menu: Devices->Shared Clipboard->Bidirectional
So you can paste stuff from windows into linux

In Guest:
Menu->Control Centre->Keyboard->Layouts
Here you select your keyboard layout

Menu->Control Centre-> Search for “time” and set your location
Menu->Control Centre-> Search for “proxy” and add your proxy if you have one

Open a terminal and type:
xed .bashrc
Paste the following into that file and save it
alias dir="ls"
alias copy="cp"
alias rename="mv"
alias md="mkdir"
alias rd="rmdir"
alias del=“rm -i”

(These are handy aliases that helps us DOS guys :slight_smile:

Verify that your browser has internet access

Verify that you have internet access in the CLI
osboxes@osboxes ~ $ sudo apt-get update

If not and you are behind a proxy. Look at the bottom of this doc.

Visual Studio Code is a good choice if you are an MS dev, and its super simple to integrate with Github.
In Netscape, go to code.visualstudio.com
Download .deb Debian, Ubuntu
sudo dpkg -i Downloads/code_x.x.x-xxxxxxxx_amd64.deb

Install Meteor
~ $ curl https://install.meteor.com/ | sh
Create and start a test app
~$ meteor create tstapp
~$ cd tstapp
~$ meteor npm install
~$ meteor

Open a new teminal and start your editor
~$ code tstapp

Arrange you browser and editor window by dragging them to the left/right end of the screen and they will dock automatically

Change something in client/main.html and behold the awesomeness of Meteor. If everything went smooth you have spent a fraction of the time it would have taken to set up a complete web development environment with any other stack

Good luck!


If you are behind a proxy:
osboxes@osboxes ~ $ sudo xed /etc/apt/apt.conf.d/95proxies

Acquire::http::proxy “http://myproxy.server.com:8080/”;
Acquire::ftp::proxy “ftp://myproxy.server.com:8080/”;
Acquire::https::proxy “https://myproxy.server.com:8080/”;

sudo xed /etc/environment
http_proxy=http://myproxy.server.com:8080/
https_proxy=http://myproxy.server.com:8080/
ftp_proxy=http://myproxy.server.com:8080/
no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
HTTP_PROXY=http://myproxy.server.com:8080/
HTTPS_PROXY=http://myproxy.server.com:8080/
FTP_PROXY=http://myproxy.server.com:8080/
NO_PROXY=“localhost,127.0.0.1,localaddress,.localdomain.com”

1 Like