我試圖在我的Mac OS 10.12.6中安裝sequelize-cli。無法解析續集包
在終端,我做
npm install -g sequelize-cli
我
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
/usr/local/bin/sequelize -> /usr/local/lib/node_modules/sequelize-cli/bin/sequelize
/usr/local/lib
└── [email protected]
然後,我試過
sequelize model:create --name User --attributes name:string,complete:boolean
我
無法在/用戶/ bheng /網站/ BASE
我甚至與--save
因爲這post建議嘗試解決sequelize包。
npm install -g sequelize-cli --save
我得到了相同的結果。
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
/usr/local/bin/sequelize -> /usr/local/lib/node_modules/sequelize-cli/bin/sequelize
/usr/local/lib
└── [email protected]
sequelize model:create --name User --attributes name:string,complete:boolean
無法在/用戶/ bheng /網站/ BASE解決sequelize包
還有什麼我應該嘗試一下呢?