环回警告:作用域User.accessTokens目标类AccessToken,它不是通过远程处理公开的

所以,标题是一个问题。尝试从loopback应用程序生成angular服务,但收到此错误

Loading LoopBack app "xxx\\server\\server.js" Generating "lbServices" for the API endpoint "/api" Warning: scope User.accessTokens targets class "AccessToken", which is not exposed via remoting. The Angular code for this scope won't be generated. Warning: scope AppUser.accessTokens targets class "AccessToken", which is not exposed via remoting. The Angular code for this scope won't be generated. undefined:25 throw err; ^

不确定它何时停止工作:在更新slc之后或在我的一些编码之后

有什么想法吗?

转载请注明出处:http://www.kldfzc.com/article/20230526/1383770.html