小程序腾讯云不能用
发布于 6 年前 作者 taowei 772 次浏览 来自 问答

npm WARN [email protected] No repository field.

开始初始化数据库…

准备读取 SQL 文件:C:\Users\刘兵\Desktop\wafer2-startup\server\tools\cAuth.sql

开始执行 SQL 文件…

Unhandled rejection Error: Error: connect ECONNREFUSED 127.0.0.1:3306

    at DB.raw.then.err (C:\Users\刘兵\Desktop\wafer2-startup\server\tools\initdb.js:40:11)

    at tryCatcher (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\util.js:16:23)

    at Promise._settlePromiseFromHandler (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:512:31)

    at Promise._settlePromise (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:569:18)

    at Promise._settlePromise0 (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:614:10)

    at Promise._settlePromises (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:689:18)

    at Async._drainQueue (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\async.js:133:16)

    at Async._drainQueues (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\async.js:143:10)

    at Immediate.Async.drainQueues (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\async.js:17:14)

    at runCallback (timers.js:672:20)

    at tryOnImmediate (timers.js:645:5)

    at processImmediate [as _immediateCallback] (timers.js:617:5)

回到顶部