yapi icon indicating copy to clipboard operation
yapi copied to clipboard

升级到 1.3.16 版本时,在浏览器打不开页面

Open leecz opened this issue 8 years ago • 7 comments

版本号

~ 1.3.16

什么问题

~ 从1.3.14 升级到1.3.16 启动服务正常,在浏览器打开页面报错: lib.min.js:51103 Uncaught TypeError: keysFunc is not a function at lib.min.js:51103 at Object. ([email protected]:48) at i (manifest.min.js:1) at Object. ([email protected]:5) at i (manifest.min.js:1) at window.webpackJsonp (manifest.min.js:1) at [email protected]:1

如何复现此问题

~ 升级

什么浏览器

~ chrome

什么系统(Linux, Windows, macOS)

macOS

leecz avatar Jun 19 '18 01:06 leecz

可以升级到17试试

gaoxiaomumu avatar Jun 19 '18 02:06 gaoxiaomumu

17 也是不行的,错误和 16 一样

leecz avatar Jun 20 '18 01:06 leecz

删掉node_modules 重新安装,有人是清掉浏览器缓存以后成功的

gaoxiaomumu avatar Jun 20 '18 02:06 gaoxiaomumu

依然不行,我的 node 版本 v8.9.4

leecz avatar Jun 21 '18 01:06 leecz

那就试试单独安装 node-sass 试试,再不行我们也不知道原因了

gaoxiaomumu avatar Jun 21 '18 02:06 gaoxiaomumu

没事,辛苦了,我先用着 14 版本吧

leecz avatar Jun 21 '18 03:06 leecz

你降一下node版本看看,我之前也用的8.9.4好像也有类似的问题,我切到7.6就好了。

在 2018年6月21日,上午11:19,leecz <[email protected] mailto:[email protected]> 写道:

没事,辛苦了,我先用着 14 版本吧

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/YMFE/yapi/issues/399#issuecomment-398963694, or mute the thread https://github.com/notifications/unsubscribe-auth/AMv5SSDFKfuFl0fivqMGLi1hkbClJS5_ks5t-xDCgaJpZM4UsuLP.

wish4sun avatar Jun 21 '18 03:06 wish4sun