Adam.V
Adam.V

Reputation: 789

Can't run Meteor app

I'm trying to run the react-sticky-scroll project from GitHub.

When I go to localhost:3000 I get a page with title Express and "welcome to express" at the top. Nothing else.

Question

How can I run this app?

Upvotes: 0

Views: 203

Answers (2)

Naresh Thakur
Naresh Thakur

Reputation: 335

Edited: the project you are cloning is not react project. It's a boilerplate project on Meteor. You need to run meteor npm install for more details you can follow its documentation on following link.

https://themeteorchef.com/base/getting-started

When you clone any starter/base project you need to install npm for that project too. Go inside directory and run npm install command.

meteor npm install

It will take some time and when its complete run your project using following comand.

meteor npm start

Possible issues:

There are chances your npm install is not successful.

This can be because of some permission issue.

Or it may be because of node version. Please make sure you are using supported platform and node version.

If you are new to react and want to start with react base app you can use create-react-app to start from scratch.

https://github.com/facebookincubator/create-react-app

Follow the documentation provided on above link.

Upvotes: 2

Leopold Joy
Leopold Joy

Reputation: 4660

You have to use Meteor to run the app. From the Meteor documentation linked to in the README.md, you must first run the following command to install the dependencies:

meteor npm install

Followed by the command to start the Meteor application:

meteor

If you then visit http://localhost:3000 you will see the Meteor app.

Upvotes: -1

Related Questions