Giter Site home page Giter Site logo

Comments (6)

sdepold avatar sdepold commented on May 13, 2024

can you paste me npm list ? which version of nodejs are you using?

from cli.

sdepold avatar sdepold commented on May 13, 2024

Also how did you install sequelize-cli ? because if there is not a bug, it seems that you are using sequelize 1.7.9 which should not be possible as the latest 1.7.x still bundles its own cli

from cli.

dantman avatar dantman commented on May 13, 2024

I installed using npm i sequelize-cli -g

from cli.

dantman avatar dantman commented on May 13, 2024

Node: v0.10.28

The point of a -cli package is typically to provide a separate global executable (not something in node_modules/.bin/) which may interact the non-global package through a local package in development in some way. It may change settings of the package in development during init to set it up to use the local package. And it may integrate and call local versions of the non-cli library to do the things like migrations.
I'm starting to guess sequelize-cli isn't designed like that.

from cli.

sdepold avatar sdepold commented on May 13, 2024

i actually always use local packages and never global ones. So chances are, that you will not be able to uses it globally at this point. Can install it locally and give it another try? And if it is working then, please file a new ticket, that describes the issue with the global installation

from cli.

dantman avatar dantman commented on May 13, 2024

As you said the current version of sequelize already has its own cli so I can't install sequelize-cli locally. But the local sequelize does work and code wise I don't see any reason why sequelize-cli wouldn't work locally.

from cli.

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.