Comments (3)
Hey I updated package json.
The reason I didn't notice this is because in my scripts I usually just use seomthing like this
./node_modules/.bin/migrate --autosync --es6 -d mongodb://localhost/dev
cause that migrate bin is executable.
Upgrading to v2.0 fixes the package.json. #
from migrate-mongoose.
updated the package and now getting this;
- module.js:455 Function.Module._resolveFilename
module.js:455:15
- module.js:403 Function.Module._load
module.js:403:25
- module.js:483 Module.require
module.js:483:17
- module.js:20 require
internal/module.js:20:19
- lib.js:7 Object.<anonymous>
[buharmetre]/[migrate-mongoose]/dist/lib.js:7:21
- module.js:556 Module._compile
module.js:556:32
- module.js:565 Object.Module._extensions..js
module.js:565:10
- module.js:473 Module.load
module.js:473:32
- module.js:432 tryModuleLoad
module.js:432:12
- module.js:424 Function.Module._load
module.js:424:3
- module.js:483 Module.require
module.js:483:17
- module.js:20 require
internal/module.js:20:19
- migration.js:10 Object.<anonymous>
E:/Coding/buharmetre/src/lib/migration/migration.js:10:19
- module.js:556 Module._compile
module.js:556:32
- module.js:565 Object.Module._extensions..js
module.js:565:10
- module.js:473 Module.load
module.js:473:32
- module.js:432 tryModuleLoad
module.js:432:12
- module.js:424 Function.Module._load
module.js:424:3
- module.js:483 Module.require
module.js:483:17
- module.js:20 require
internal/module.js:20:19
- app.js:62
E:/Coding/buharmetre/src/app.js:62:4
- debuggability.js:299 Promise._execute
[buharmetre]/[bluebird]/js/release/debuggability.js:299:9
from migrate-mongoose.
@bonesoul good call. Was exporting under property 'default' (ES6)
Fixed in 2.02 update (available now)
Thanks again!
from migrate-mongoose.
Related Issues (20)
- New Server Discover and Monitoring engine for MongoClient HOT 2
- Cannot find module '@/enums/roles'
- Use NPX instead of referencing the node module
- Ability to specify migrations for a given NODE_ENV, or support seeding for local versus migrations for production
- Microservice environment
- Are ES6 imports supported in 4.0.0? HOT 2
- Deprecation warning HOT 1
- Support Migration files with *.ts extension HOT 4
- Is this repo still maintained? HOT 4
- How do we setup migrate.json HOT 1
- I am getting "Cannot use import statement outside a module" HOT 4
- can i use migrate-mongoose in midway framework?
- up never get's past "Synchronizing database with file system migrations" HOT 1
- Unexpected token { when using the package in typescript project
- Is there a way to grab the `connectionUri` or any other useful information in the `up` or `down` functions?
- Schema hasn't been registered HOT 1
- Security vulnerability on dangling dependency of yargs "^4.8.1"
- Compromised colors package HOT 1
- Engine warning and timeout HOT 6
- Generate initial migrations?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from migrate-mongoose.