sav7ng / WeHalo

WeHalo 简约风 的微信小程序版博客:sparkles:
https://github.com/savingrun/wehalo
GNU General Public License v3.0
2.01k stars 370 forks source link

关于adminOpenid找不到问题 #82

Closed FangPengbo closed 3 years ago

FangPengbo commented 3 years ago

Describe the bug RT,我在README.md中获取到了解决的方案 https://gitee.com/aquanrun/WeHalo/issues/I12J1G 但是现在这个方案失效了

在本地运行云函数的时候出现以下情况

DevTools failed to load SourceMap: Could not parse content for file:///E:/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F/WeHalo/cloudfunctions/get_wx_context/node_modules/bson/lib/bson.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for file:///E:/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F/WeHalo/cloudfunctions/get_wx_context/node_modules/bson/lib/binary.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for file:///E:/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F/WeHalo/cloudfunctions/get_wx_context/node_modules/bson/lib/ensure_buffer.js.map: Unexpected end of JSON input

QQ图片20210404172524

FangPengbo commented 3 years ago

已解决。需要配置云环境的ID