Ice32 / blog-MERN

example app written in MERN stack
0 stars 0 forks source link

GET http://localhost:3000/bundle.js #1

Closed thomcchester closed 7 years ago

thomcchester commented 7 years ago

Hey, I am new to MERN I am trying to switch over from MEAN. I tried starting up your app here and have run into some issues. I have everything installed and up and running, have listening on port 3000 etc but when I look at the page there is nothing and console only shows (http://localhost:3000/bundle.js /localhost:28 GET http://localhost:3000/bundle.js ). Wondering if you might know that going on.

Ice32 commented 7 years ago

@thomcchester Hello, sorry for not replying earlier.

Did you bundle the app using the webpack command? That might be the issue.

Also, babel-core package is required now (it wasn't at the time when this app was written), so make sure to include it too.

So, the commands I'm suggesting are: cd blog-MERN npm install --save babel-core npm install -g webpack webpack npm start

thomcchester commented 7 years ago

Thanks man that worked perfectly!

Sent from my iPhone

On Nov 28, 2016, at 4:20 PM, Kenan Selimovic notifications@github.com wrote:

@thomcchester Hello, sorry for not replying earlier.

Did you bundle the app using the webpack command? That might be the issue.

Also, babel-core package is required now (it wasn't at the time when this app was written), so make sure to include it too.

So, the commands I'm suggesting are: cd blog-MERN npm install --save babel-core npm install -g webpack webpack npm start

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Ice32 commented 7 years ago

@thomcchester Glad to hear that