[英]Why am I getting "TypeError: Cannot read properties of undefined (reading ‘isEE’)" when accessing Strapi admin panel via nginx reverse proxy?
Recently I've deployed my strapi app using Nginx and when I'm trying to access admin page I'm getting this error最近我使用 Nginx 部署了我的 strapi 应用程序,当我尝试访问管理页面时出现此错误
I have no idea what does this error means:我不知道这个错误是什么意思:
TypeError: Cannot read properties of undefined (reading 'isEE')
at main.0dc07489.js:8914:25883
at Generator.next (<anonymous>)
at it (main.0dc07489.js:8914:25430)
When I'm accessing Strapi app directly by IP and port 1337 everything works fine.当我直接通过 IP 和端口 1337 访问 Strapi 应用程序时,一切正常。 I've tried many things like deploying the new Strapi app but I can't figure out what's wrong.
我已经尝试了很多事情,比如部署新的 Strapi 应用程序,但我无法弄清楚出了什么问题。
Any ideas what could be causing this error?任何想法可能导致此错误的原因是什么?
We faced a similar issue when we started using the custom PUBLIC_URL parameter and got rid of it when it was returned to an empty string value.当我们开始使用自定义 PUBLIC_URL 参数并在返回空字符串值时摆脱它时,我们遇到了类似的问题。 I'm not sure it is the same case but just letting you all know about this nuance.
我不确定这是不是同一种情况,只是让大家知道这个细微差别。 Versions - Strapi: 4.5.3, npm: 8.19.2, node: 16.18.1
版本 - Strapi:4.5.3、npm:8.19.2,节点:16.18.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.