Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] #95

Closed
funcdfs opened this issue Oct 26, 2020 · 1 comment
Closed

[Bug Report] #95

funcdfs opened this issue Oct 26, 2020 · 1 comment

Comments

@funcdfs
Copy link

funcdfs commented Oct 26, 2020

Describe the bug

vuepress1.7.版本依赖包更新后
yarn run deploy 后主题报错数组越界

Steps To Reproduce

使用 yarn upgrade-interactive --latest 更新 vuepress版本后
推送报错

image

Expected behavior

好像是主题写的时候出现了数组越界的情况?,vuepress新版本 vue 报错,
之前用的vuepress1.6版本什么的都没事,然后更新依赖包后出现主题报错

Environment (please complete the following information):

  • Theme Version: [^1.9.0]
  • Vuepress Version: [1.7.1]
  • OS: [Windows 10]
  • Browser: [chrome]

Additional context

没学过vue,猜测是因为新版本数组行为审核更严谨了,所以更新后出现数组越界的报错导致无法推送至网页

解决方法就是回退vuepress版本,但是不是说明主题代码可能存在一定漏洞?希望检查一下可以适用于新版本vuepress

打扰了~

@meteorlxy
Copy link
Owner

vuejs/vuepress#2656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants