简体   繁体   English

为什么在通过 nginx 反向代理访问 Strapi 管理面板时出现“类型错误:无法读取未定义的属性(读取‘isEE’)”?

[英]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.

相关问题 使用 ipcRenderer 时出现错误(类型错误无法读取未定义的属性(读取“发送”)) - I am getting an error when using ipcRenderer (typeerror cannot read properties of undefined (reading 'send')) 运行获取时:TypeError:无法读取未定义的属性(读取“发送”) - When running getting: TypeError: Cannot read properties of undefined (reading 'send') 我在 React 中收到“TypeError: Cannot read properties of undefined(reading: 0)” - I'm getting "TypeError: Cannot read properties of undefined(reading: 0)" in React 我为什么会收到TypeError:无法读取未定义的属性“现在” - Why am I getting TypeError: Cannot read property 'now' of undefined 为什么我收到“ TypeError:无法读取未定义的属性” length” - Why am I getting 'TypeError: Cannot read property 'length' of undefined' 为什么我得到“TypeError:无法读取未定义的属性&#39;恢复&#39;当使用sinon.js删除mongoose时 - Why Am I getting “TypeError: Cannot read property 'restore' of undefined” when stubbing mongoose with sinon.js 我正面临“TypeError:无法读取未定义的属性(读取&#39;push&#39;)”的错误 - I am facing an error of "TypeError: Cannot read properties of undefined (reading 'push')" 未捕获的类型错误:无法读取未定义的属性(读取“替换”)。 我在我的网站上遇到了这个错误 - Uncaught TypeError: Cannot read properties of undefined (reading 'replace'). I am facing this error in my site 在 reactjs TypeError 中出现错误:无法读取未定义的属性(读取“过滤器”) - Getting error in reactjs TypeError: Cannot read properties of undefined (reading 'filter') 获取“未捕获的类型错误:无法读取未定义的属性(读取‘项目’)” - Getting " Uncaught TypeError: Cannot read properties of undefined (reading 'Items')"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM