mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
fixed leveldb installation; console.log
This commit is contained in:
@@ -218,11 +218,10 @@ function setupDatabase(server_conf, next) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'level':
|
case 'level':
|
||||||
packages = packages.concat(['levelup', 'leveldown', 'connect-level']);
|
packages = packages.concat(['levelup', 'leveldown', 'connect-leveldb']);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(packages);
|
|
||||||
npm.commands.install(packages, function(err) {
|
npm.commands.install(packages, function(err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return next(err);
|
return next(err);
|
||||||
|
|||||||
Reference in New Issue
Block a user