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

An error in wechat devtools #9886

Closed
mylhei opened this issue Apr 17, 2019 · 1 comment
Closed

An error in wechat devtools #9886

mylhei opened this issue Apr 17, 2019 · 1 comment

Comments

@mylhei
Copy link

mylhei commented Apr 17, 2019

Version

2.6.10

Reproduction link

https://test.ipalfish.com/klian/web/dist/m/picture/vip-code.html?from=singlemessage&isappinstalled=0

Steps to reproduce

config project by vue-cli 3.0, then load page in wechat devtools

see the error below:

libs.213765e4.js:1 Uncaught SyntaxError: Invalid regular expression: /[^a-zA-Z·À-ÖØ-öø-ͽͿ-῿‌-�‿-��-�Ⰰ-⿯�-퟿豈-�ﷰ-�.$_\d]/: Range out of order in character class
at RegExp ()
at Module. (libs.213765e4.js:1)
at Module.2b0e (libs.213765e4.js:1)
at r (vip-code.f5f61c2a.js:1)
at Object.a1c6 (vip-code.f5f61c2a.js:1)
at r (vip-code.f5f61c2a.js:1)
at Module.56d7 (vip-code.f5f61c2a.js:1)
at r (vip-code.f5f61c2a.js:1)
at Object.17 (vip-code.f5f61c2a.js:1)
at r (vip-code.f5f61c2a.js:1)

What is expected?

render successfully

What is actually happening?

report an error


it seem to a bug in vue.esm.js line 478
var unicodeLetters = 'a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-
it only happen when production
config.devtool = isDev ? 'cheap-module-eval-source-map' : 'hidden-source-map'

@posva
Copy link
Member

posva commented Apr 17, 2019

Duplicate of #9456
Fixed on #9595

It looks like your vue version is not up to date.

@posva posva closed this as completed Apr 17, 2019
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