phodal/lan

安装问题

Closed this issue · 4 comments

yinwz commented

Centos 7.2.1511_X64
安装到 sequelize db:migrate时出错,
Loaded configuration file "config/config.json".
Using environment "development".
Using gulpfile /usr/lib/node_modules/sequelize-cli/lib/gulpfile.js
Starting 'db:migrate'...
[Error: The dialect sqlite is not supported. Supported dialects: mariadb, mssql, mysql, postgres, and sqlite. (Error: Please install sqlite3 package manually)]

很无语啊,sqlite3确实安装了

换个数据库试试?

yinwz commented

改为mysql,可以

@yinwz 会不会是没装sqlite的库?

yinwz commented

无论是yum install sqlite
还是npm install sqlite
都确实安装了