You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Console.error a warning message, but normally exit the process to avoid printing ugly npm ERR lines and stack trace.
12
-
console.error(`\n${repeatCharacter(' ',22)}⚠️ ERROR ⚠️\n${repeatCharacter('-',55)}\nYou specified "${adapterName}" as the DB_ADAPTER, but no package\ncalled "micro-analytics-adapter-${adapterName}" was found.\n\nPlease make sure you spelled the name correctly and\nhave "npm install"ed the necessary adapter package!\n${repeatCharacter('-',55)}\n`)
thrownewError(`\n${repeatCharacter(' ',22)}⚠️ ERROR ⚠️\n${repeatCharacter('-',55)}\nYou specified "${adapterName}" as the DB_ADAPTER, but no package\ncalled "micro-analytics-adapter-${adapterName}" was found.\n\nPlease make sure you spelled the name correctly and\nhave "npm install"ed the necessary adapter package!\n${repeatCharacter('-',55)}\n`)
31
+
}else{
32
+
throwerr
33
+
}
34
+
}
35
+
5
36
returnargs
6
37
.option(['p','port'],'Port to listen on',process.env.PORT||3000,Number)
7
38
.option(['H','host'],'Host to listen on',process.env.HOST||'0.0.0.0')
0 commit comments