Uncaught ReferenceError: __DEV__ is not defined
at Function.RootClass.extend (clazz.js:66)
at Object.
at __webpack_require__ (bootstrap 967f14c65e24b5070280:54)
at Object.
at __webpack_require__ (bootstrap 967f14c65e24b5070280:54)
at Object.
at Object.defineProperty.value (echarts.js:2003)
at __webpack_require__ (bootstrap 967f14c65e24b5070280:54)
at Object.idStart (vendor.967f14c6.bundle.js:77980)
at __webpack_require__ (bootstrap 967f14c65e24b5070280:54)
我這裡也是遇到相同問題,請問有無解決方法,謝謝
没有快疯了,找一天没找到原因
2017-11-09 15:24 GMT+08:00 Kungihong notifications@github.com:
我這裡也是遇到相同問題,請問有無解決方法,謝謝
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ecomfe/echarts/issues/6991#issuecomment-343069013,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEST6EIPypDwOTrhi_zF9REwqSy5T59Cks5s0qjAgaJpZM4QXbPf
.
我也遇到同样问题
TypeError: Path.extend is not a function
./node_modules/echarts/lib/util/graphic.js.graphic.extendShape
版本:3.7.2
Uncaught TypeError: T.extend is not a function
at Object.L.extendShape (vendor.7910285e0d21a9dbb804.js:10)
at Object.
at n (manifest.6a42d4d73aae460747f8.js:1)
at Object.
at n (manifest.6a42d4d73aae460747f8.js:1)
at Object.
at Object.
at n (manifest.6a42d4d73aae460747f8.js:1)
at Object.
at n (manifest.6a42d4d73aae460747f8.js:1)

有没有人解决了告知一声....找了一个下午了问题...
我拷贝了同事的echarts,zrender后正常使用了
搞定了,我用的yarn,在packages里配置好了
"resolutions": {
"zrender": "3.6.3"
}
今天更新项目,也遇到同样的问题
Uncaught TypeError: Path.extend is not a function
package.json 里面写死这2个库的版本,可以暂时解决
"echarts": "3.7.2",
"zrender": "3.6.3",
@PerseveranceZ 确实可以
我的部署环境在linux,写死"echarts": "3.7.2",
"zrender": "3.6.3",也不行啊!谁来帮帮我
@lgl1993 写定后将原本的node_modules删除, 然后再npm install, 理论上是可以的
我们在新发布的 3.8.2 中将 lib 下的重新转译成了 CommonJS 格式并且去掉了 __DEV__,应该解决了大家构建的兼容问题。非常抱歉新版本的模块系统给大家造成了这么大的麻烦。
Most helpful comment
我们在新发布的 3.8.2 中将 lib 下的重新转译成了 CommonJS 格式并且去掉了 __DEV__,应该解决了大家构建的兼容问题。非常抱歉新版本的模块系统给大家造成了这么大的麻烦。