当运行本地服务器时报以下bug
此时我们找到报错位置F:\Project\diyDesign\ChangeBox\server\node_modules\wafer-node-sdk\index.js,打开代码,注释该行
if ([rootPathname, useQcloudLogin, cos, serverHost, tunnelServerUrl, tunnelSignatureKey, qcloudAppId, qcloudSecretId, qcloudSecretKey, wxMessageToken].some(v => v === undefined)) throw new Error(ERRORS.ERR_INIT_SDK_LOST_CONFIG)
然后保存,重新运行服务器,即可看见本地服务器成功运行
网站上输入本地服务器地址也同样运行成功