Closed pianomansam closed 6 years ago
Thanks @pianomansam, we'll fix this issue, this afternoon for sure.
@pianomansam it is fixed in the latest liana versions (v2.13.1 for express-mongoose and v2.15.4 for express-sequelize).
Thanks for the valuable feedback!
🌲🌲🌲
Thanks for quickly addressing, this, @arnaudbesnier. I've tested express-mongoose v2.13.1 and it appears to be working great.
It looks like
forest-express
started using babel back in release 2.9.0 according to the changelog but only as a dev dependency. However, it appears that release 2.14 introduced a dependency on babel in the distributed code. You can see this inroutes/sessions.js
andservices/login-handler.js
on lines 3-9. I believe this is a result of commit https://github.com/ForestAdmin/forest-express/commit/b4dec67c9b64109e4f3f65daf4f9d84842cdf5ab which introduced the ability to use async/await.I would prefer not to create a dependency to babel in my app.
Expected behavior
Today went to work on an app that uses the
forest-express-mongoose
implementation of this. I had my version pinned to^2.5.0
and the app was working in production. Upon starting some new work after a break, I was unable to get my forest express app working with the latest release. It was complaining of being unable to find thebabel-runtime/regenerator
module.Failure Logs