meanjs / mean

MEAN.JS - Full-Stack JavaScript Using MongoDB, Express, AngularJS, and Node.js -
http://meanjs.org
MIT License
4.87k stars 1.98k forks source link

deployed to heroku and content disappear #1959

Open NSLog0 opened 6 years ago

NSLog0 commented 6 years ago

I've deployed meanjs to heroku for fitst time but I can't see my content it's blank

screenshot from 2018-04-01 21-00-35

URL: https://strawberry-shortcake-44338.herokuapp.com/ Any idea?

Thanks in advance

NSLog0 commented 6 years ago

screenshot from 2018-04-01 21-23-18

work find in localhost with gulp prod

NSLog0 commented 6 years ago

Update: I found the discussion on stack overflow they told let try to change NODE_ENV to development mode, You know it's worked the website is appeared and I figured it out the cause is resolve on angular route. I use resolve to load data on the back-end but I don't know why the UI is has been blocked like this but on the local it's work find. Any suggestion?

Thanks in advanced.

NSLog0 commented 6 years ago

Anyone? I need help

NSLog0 commented 6 years ago

@lirantal

dylib commented 6 years ago

@avatarr: What happens if you try deploying with this version: https://github.com/Ghalleb/mean?

mleanos commented 6 years ago

The build is most likely failing on Heroku, due to the dev package dependencies not getting installed.

Please see these issues

https://github.com/meanjs/mean/issues/1411

241

uthmanq commented 5 years ago

Any update on this?

NSLog0 commented 5 years ago

No, I avoid using resolve. I find a solution to fix it but, no one talk about it. If anyone has experience about it, please tell me

uthmanq commented 5 years ago

I am using NODE_ENV="development" and everything works. However, I am also concerned about the same thing. The build clearly fails when put into production mode but works in development. I am not sure what the downsides are.

NSLog0 commented 5 years ago

Actually, I stopped to develop a new project with MEAN.js because

  1. Don't get support for an issue immediately
  2. I go with React.js
  3. I had a few errors that couldn't solve. You can find the error that by filter my username