Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Meteor create my-app" taking forever installing npm dependencies

Tags:

meteor

I am a newbie in web development. I have installed Meteor on ubuntu. When I try to create an app using something like:

Meteor create my-app

It creates the my-app folder but it never returns out of "Installing npm dependencies". I have been waiting for more than half and hour. I was wondering if this is normal? How long more should I wait for it to end?

I'm working behind a company proxy but I have set the proxy using the following lines (and that allowed me to install Meteor in the first place):

export http_proxy=http://username:password@proxy:port

export https_proxy=http://username:password@proxy:port

like image 674
Pezh Avatar asked Dec 13 '17 22:12

Pezh


1 Answers

I was stuck in a similar situation on Windows.

Cancel the job using ctrl+c. Since meteor creates the app directory even before the command is complete, you will have the directory intact, go into the directory and run

meteor npm install

It will install all the dependencies (took 7s for me), then run meteor to start the server.

like image 115
MOHAMMED SADIQ Avatar answered Oct 08 '22 11:10

MOHAMMED SADIQ