Comments (6)
can you paste me npm list
? which version of nodejs are you using?
from cli.
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.
I installed using npm i sequelize-cli -g
from cli.
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.
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.
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)
- Error on running db: migrate with Node 18.17.9 HOT 1
- Model.associate adding new columns
- Proposal: Controller Generation in Sequelize
- Tests are stuck HOT 5
- postgres: db:create should not fail if the database does exist
- BulkInsert "relation does not exist" in migration script
- const model = require(path.join(__dirname, file)).default( ^ TypeError: require(...).default is not a function
- const model = require(path.join(__dirname, file)).default( ^ TypeError: require(...).default is not a function HOT 1
- Sequelize CLI Fails to Authenticate with Postgres DB Containing a ':' in Password HOT 3
- CLI is not taking default env like node latest versions have (20.8.0)
- SequelizeMeta structure incompatible with SingleStore/memsql HOT 2
- Problem running migrations with yarn
- When on typescript project, sequelize-cli still generates javascript files. HOT 3
- Running migrations, on Azure database HOT 1
- Seeders state in database with using url option
- Migration undo command didn't work correctly. HOT 1
- where condition in literal HOT 1
- nested dependency es5-ext has a security vulnerability (low) and needs update HOT 1
- Subsequent migrations fail after running db:migrate:schema:timestamps:add command
- Please install sqlite3 package manually
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 cli.