简体   繁体   English

无法读取未定义、表达的属性“原型”

[英]Cannot read property 'prototype' of undefined, express

Cannot read property 'prototype' of undefined, just seemed to randomly appear!无法读取未定义的属性“原型”,只是似乎随机出现! I have no idea where it's coming from or why it is there.我不知道它从哪里来,也不知道它为什么在那里。 It's incredibly frustrating!令人难以置信的令人沮丧! All the browser is telling me is that it's coming from express, but obviously I've not modified the library so the error message is pretty much useless.所有浏览器告诉我的是它来自 express,但显然我没有修改库,所以错误消息几乎没有用。

response.js:42 Uncaught TypeError: Cannot read property 'prototype' of undefined
at Object.<anonymous> (response.js:42)
at Object../node_modules/express/lib/response.js (response.js:1142)

So anyway I have built a MERN message board and integrated chat and webrtc videocalling with socket.io, and suddenly this error starts to appear.所以无论如何我已经建立了一个 MERN 留言板并使用 socket.io 集成了聊天和 webrtc 视频通话,突然这个错误开始出现。 Oh, and I think it's important to note that I used create-react-app for my client, so I'm not dealing with webpack, myself.哦,我认为重要的是要注意我为我的客户端使用了 create-react-app,所以我自己没有处理 webpack。

I'm so clueless at the moment so please somebody help me out, here.我现在一无所知,所以请有人帮助我,在这里。

somehow this line was auto imported in react: import { response } from 'express';不知何故,这一行是在 react 中自动导入的: import { response } from 'express'; i hate when that happens我讨厌发生这种情况

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Uncaught TypeError:无法读取未定义的属性“ prototype” - Uncaught TypeError: Cannot read property 'prototype' of undefined Reactjs - × TypeError:无法读取未定义的属性“原型” - Reactjs - × TypeError: Cannot read property 'prototype' of undefined 业力:TypeError:无法读取未定义的属性“ prototype” - karma: TypeError: Cannot read property 'prototype' of undefined 未捕获的TypeError:无法读取未定义的属性“ prototype” - Uncaught TypeError : cannot read property 'prototype' of undefined TypeError:无法读取未定义的属性“ prototype” - TypeError: Cannot read property 'prototype' of undefined TypeError:无法读取未定义 REACT 的属性“原型” - TypeError: Cannot read property 'prototype' of undefined REACT 快递-未捕获的TypeError:无法读取未定义的属性&#39;prototype&#39;,request.js 31 - Express - Uncaught TypeError: Cannot read property 'prototype' of undefined, request.js 31 TypeError:无法读取未定义的属性(读取“原型”)React Typescript + Express - TypeError: Cannot read properties of undefined (reading 'prototype') React Typescript + Express 无法读取未定义 Express API 的属性“计数” - Cannot read property 'count' of undefined Express API 错误无法读取未定义 Express 应用程序的属性 - Error cannot read property of undefined Express app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM