不要有127 localhost访问,配置nginx 开发加上白名单 192.xxx, 然后换192访问后台就好了 一开始通过 const fs = wx.getFileSystemManager(); 去判断有没有文件,目录,没有则创建一个,结果根本建不完,你见log1,2,3,后边又提示4,5。。。思路就错了
open 'wxfile://ad/interstitialAdExtInfo.txt报错?苹果真机调试不会报错,安卓会 error occurs:no such file or directory, open 'wxfile://ad/interstitialAdExtInfo.txt' p @ VM75:407 (anonymous) @ VM75:407 emit @ node:events:512 emitErrorNT @ node:internal/streams/destroy:151 emitErrorCloseNT @ node:internal/streams/destroy:116 processTicksAndRejections @ node:internal/process/task_queues:82 error occurs:no such file or directory, access 'wxfile://usr/miniprogramLog/' p @ VM75:407 (anonymous) @ VM75:407 (anonymous) @ node:fs:181 error occurs:no such file or directory, access 'wxfile://usr/miniprogramLog/log1'
03-19