gothinkster / angularjs-realworld-example-app

Exemplary real world application built with Angular 1.5 + ES6
https://angularjs.realworld.io
MIT License
453 stars 376 forks source link

Error connecting to locally running NodeJS backend #8

Closed anishkny closed 7 years ago

anishkny commented 7 years ago

I was trying to run this against a locally running node-express-realworld-example-app. When I do gulp, the articles don't load, and I get the following console error:

Error: transition superseded
    at $StateProvider.$get (main.js:2904)
    at Object.invoke (main.js:9544)
    at main.js:9336
    at getService (main.js:9485)
    at injectionArgs (main.js:9510)
    at Object.invoke (main.js:9536)
    at main.js:12651
    at forEach (main.js:4944)
    at Object.<anonymous> (main.js:12649)
    at Object.invoke (main.js:9544) "Possibly unhandled rejection: {}"

Steps to setup backend:

git clone https://github.com/gothinkster/node-express-realworld-example-app
cd node-express-realworld-example-app
yarn
export NODE_ENV=production
export MONGODB_URI=mongodb://mongo:mongo@ds117821.mlab.com:17821/try-mongodb
export SECRET=secret
node ./app.js
# ... Verified localhost:3000/api with Postman tests
EricSimons commented 7 years ago

I think this is actually due to https://github.com/gothinkster/angularjs-realworld-example-app/issues/6 - on a plane right now but will fix ASAP

EricSimons commented 7 years ago

Fixed with https://github.com/gothinkster/angularjs-realworld-example-app/pull/11!