[英]Uncaught TypeError: u.ServerResponse is undefined in console when connecting to my netlify website
我只想知道这个错误来自哪里。 我在这里托管了前端: https://anonsanonymous.netlify.app/存储库位于此处: https://github.com/JohnTarvis/a2frontend
后端托管在这里: https://dashboard.heroku.com/apps/damp-island-15072 ,其存储库在这里: Z5E056C500A1C4B6A7110B50D807BADE2Zback://github.com/
当我尝试连接时,我在控制台中得到了这个。
Uncaught TypeError: u.ServerResponse is undefined
<anonymous> Express
<anonymous> 2.36dea072.chunk.js:2
l (index):1
<anonymous> Express
l (index):1
<anonymous> Express
l (index):1
454 main.680672dd.chunk.js:1
l (index):1
213 main.680672dd.chunk.js:1
l (index):1
t (index):1
r (index):1
<anonymous> main.680672dd.chunk.js:1
我尝试重建构建文件夹,重新安装 package.json 文件并评论一些导入以尝试缩小源。 接下来,我将尝试评论所有导入,以查看是否出现不同的错误。 我不确定这些块文件是在哪里生成的。 我所做的只是尝试添加让用户使用 S3 上传图像的功能。
我在这里找到了一个类似的帖子: TypeError: http.ServerResponse is undefined并且按照建议做了,但无济于事。
现在,我只想知道这是从哪里来的。 它是前端、后端还是 netlify 本身? 我刚刚开始 web 开发,如果我错过了一些简单的事情,请原谅我。
原来我已经“快递”进口了太多次。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.