首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >IBM API Connect API设计器未启动

IBM API Connect API设计器未启动
EN

Stack Overflow用户
提问于 2017-05-12 02:42:07
回答 1查看 323关注 0票数 0

我使用命令创建了一个API Connect项目

代码语言:javascript
复制
apic loopback

当我尝试启动API designer时,收到如下错误:

代码语言:javascript
复制
sdil@sdil-VirtualBox:~/Project/test-apic/todo4$ apic edit

The user model "User" is attached to an application that does not specify
whether other sessions should be invalidated when a password or
an email has changed. Session invalidation is important for security
reasons as it allows users to recover from various account breach
situations.

We recommend turning this feature on by setting
"logoutSessionsOnSensitiveChanges" to true in
server/config.json (unless you have implemented your own solution
for token invalidation).

We also recommend enabling "injectOptionsFromRemoteContext" in
User's settings (typically via common/models/*.json file).
This setting is required for the invalidation algorithm to keep
the current session valid.

Learn more in our documentation at
https://loopback.io/doc/en/lb2/AccessToken-invalidation.html

Error: loopback.errorHandler is no longer available. Please use the module "strong-error-handler" instead.

当我检查package.json中的声明时,我确实看到编写了强错误处理程序。

代码语言:javascript
复制
"dependencies": {
    ...
    "strong-error-handler": "^2.0.0",
}

如何修复此问题以使API Designer运行?

EN

回答 1

Stack Overflow用户

发布于 2017-05-16 14:07:11

实际上,我有点认识到这个问题。我们有新的强错误处理程序,但也有旧的激活的。

执行“从旧的LoopBack错误处理程序迁移”中的步骤:

https://loopback.io/doc/en/lb3/Using-strong-error-handler.html#migration-from-old-loopback-error-handler

应该完全消除旧的。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43923315

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档