Update error message for missing connector
This commit is contained in:
parent
3fadbe9c1d
commit
6db59cba6f
|
@ -234,7 +234,7 @@ DataSource._resolveConnector = function (name, loader) {
|
||||||
var error = null;
|
var error = null;
|
||||||
if (!connector) {
|
if (!connector) {
|
||||||
error = util.format('\nWARNING: LoopBack connector "%s" is not installed ' +
|
error = util.format('\nWARNING: LoopBack connector "%s" is not installed ' +
|
||||||
'as any of the following modules:\n\n %s\n\nTo fix, run:\n\n npm install %s\n',
|
'as any of the following modules:\n\n %s\n\nTo fix, run:\n\n npm install %s --save\n',
|
||||||
name, names.join('\n'), names[names.length - 1]);
|
name, names.join('\n'), names[names.length - 1]);
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue