-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
posenet迁移到uniapp上时候报错,求解 #59
Comments
小程序里没有fetch这个方法,需要先引入,然后配置给tfjs,参考这里的代码:https://github.com/HunterXuan/wx-tfjs-demo/blob/master/miniprogram/app.ts#L32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mp.runtime.esm.js?66fd:5840 TypeError: Cannot read property 'fetch' of undefined
at new HTTPRequest (http.ts?bd5e:64)
at http (http.ts?bd5e:387)
at Object.browserHTTPRequest (http.ts?bd5e:397)
at GraphModel.findIOHandler (graph_model.ts?a927:111)
at GraphModel._callee$ (graph_model.ts?a927:126)
at tryCatch (regeneratorRuntime.js?7ec2:44)
at Generator. (regeneratorRuntime.js?7ec2:125)
at Generator.next (regeneratorRuntime.js?7ec2:69)
at asyncGeneratorStep (asyncToGenerator.js?c973:3)
at _next (asyncToGenerator.js?c973:22)(env: macOS,mp,1.06.2304191; lib: 2.32.1)
The text was updated successfully, but these errors were encountered: