balmasi / migrate-mongoose

A node based migration framework for mongoose supporting ES6 migrations
MIT License
264 stars 84 forks source link

Babel dependency unmet when doing migrate --up #19

Closed coyotte508 closed 5 years ago

coyotte508 commented 7 years ago
/home/ubuntu/code/novelia>migrate up
Synchronizing database with file system migrations...
Cannot find module 'babel-runtime/regenerator'

I have node 7.4.0.

npm install babel-runtime

This fixes it when run in the project's directory.

balmasi commented 7 years ago

Thanks @coyotte508 I'll see if I can spare some time this weekend to integrate babel-env so it recognizes what you need based on your environment

balmasi commented 5 years ago

I've made the major decision to remove babel support, so I'm afraid I have to close this issue