Git Product home page Git Product logo

Comments (3)

balmasi avatar balmasi commented on September 26, 2024

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.

bonesoul avatar bonesoul commented on September 26, 2024

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.

balmasi avatar balmasi commented on September 26, 2024

@bonesoul good call. Was exporting under property 'default' (ES6)
Fixed in 2.02 update (available now)

Thanks again!

from migrate-mongoose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.