react.js - Super expression must either be null or a function

查看:2052
本文介绍了react.js - Super expression must either be null or a function的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

创建一个新页面时,浏览器报错
index.js?34f7:3 Uncaught TypeError: Super expression must either be null or a function, not undefined

at _inherits (eval at <anonymous> (bundle.js:4357), <anonymous>:24:113)
at eval (eval at <anonymous> (bundle.js:4357), <anonymous>:27:3)
at Object.eval (eval at <anonymous> (bundle.js:4357), <anonymous>:115:2)
at Object.eval (eval at <anonymous> (bundle.js:4357), <anonymous>:119:27)
at eval (eval at <anonymous> (bundle.js:4357), <anonymous>:120:30)
at Object.<anonymous> (bundle.js:4357)
at __webpack_require__ (bundle.js:660)
at fn (bundle.js:86)
at Object.eval (eval at <anonymous> (bundle.js:4423), <anonymous>:32:16)
at Object.eval (eval at <anonymous> (bundle.js:4423), <anonymous>:130:27)

![图片描述][1]

问题已解决,请查看笔记

解决方案

https://segmentfault.com/n/13...

这篇关于react.js - Super expression must either be null or a function的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆