RangeError: Maximum call stack size exceeded using vuelidate 0.7.x typings package

This issue has been created since 2022-08-17.

Version

2.7.8

Reproduction link

github.com

Steps to reproduce

npm install

npm run eslint

What is expected?

eslint terminates normally

What is actually happening?

RangeError: Maximum call stack size exceeded occurs:

at getMappedType (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63282:31)
at getMappedType (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63299:30)
at C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63432:82
at Object.map (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:638:29)
at getObjectTypeInstantiation (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63432:40)
at instantiateTypeWorker (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63666:28)
at instantiateTypeWithAlias (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63646:26)
at instantiateType (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63629:37)
at instantiateList (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63257:34)
at instantiateTypes (C:\enbw\testeslint\node_modules\typescript\lib\typescript.js:63271:20)

The repo works when downgrading to vue 2.7.5. Vue 2.7.6 to 2.7.8 show this problem. I suspect it's a vue issue related to the typing information as I found similar problems in bug tracker for the latest versions. Just uninstalling the vuelidate typings package solves the problem. So it might be some type of typing conflict with vuelidate.

chenjigeng wrote this answer on 2022-08-19

I had the same problem.hope it can be fixed soon

vaidd4 wrote this answer on 2022-08-22

I have the same problem on a big project running Nuxt.js. Fixing vue version at v2.7.5 in package.json is the workarround.

Another issue produced by this problem is that the IDE (PyCharm here) using eslint flags every file in the code base with a typescript error Type instantiation is excessively deep and possibly infinite.

I suspect eslint (v7.32.0) to not like one of the 2 type modifications in [email protected] :

  • ComponentPublicInstance fffbb9e
  • ... extends never ? ... : ... 52a5979

Will try to upgrade to v8+ but I have other compatibility issues to resolve first.

(It might be related to microsoft/TypeScript#34933)

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-09-27
Star Count 199644
Watcher Count 6098
Fork Count 32848
Issue Count 587

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
undefined method `escape' for URI:Module 5 2021-04-18 2022-09-19
建议:替换已经被弃用的 request 包 1 2022-05-10 2022-09-19
ValueError: numpy.ndarray size changed, may indicate binary incompatibility 2 2021-04-03 2022-09-20
Docs: improve production tips 0 2022-04-29 2022-09-22
Issues with sessions not reused. 15 2022-05-12 2022-05-17
pretty bad PSNR and Result Image - Test Only 9 2020-02-24 2022-07-01
Suggestion for improvement - Weighted Voting 0 2021-04-11 2022-08-07
[Announcements] Code release 45 2021-03-12 2022-04-11
Trace manager parses config differently than the project class 1 2021-04-29 2022-09-08
Versions that aren't just major/minor/patch aren't parsed correctly 0 2022-05-14 2022-09-20
Speedometer request 1 2021-01-04 2022-01-01
How in PointerSpeedometer set speedometer background, when it's not filled? 1 2020-10-12 2022-07-27
Ability to stream data from wasm task to main js thread of execution 4 2022-03-04 2022-08-24
Cannot verify OpenZeppelin proxy contract (ERC20PresetMinterPauserUpgradeable) 4 2021-05-23 2022-09-04
Switch out dgrijalva/jwt-go to golang-jwt/jwt 2 2021-10-27 2021-12-21
Support for request/response logging? 0 2021-06-14 2021-12-21
User Status and State should be constants 0 2021-10-27 2021-12-21
Why were all versions yanked in crates.io? 3 2022-04-20 2022-07-18
Bump spock-core from 2.0-M4-groovy-2.5 to 2.0-groovy-3.0 3 2021-05-18 2022-01-21
There is a vulnerability in Spring Framework 4.3.26.RELEASE,upgrade recommended 0 2021-02-18 2022-09-22
render_bundle failing with TypeError: string indices must be integers 20 2020-04-09 2022-09-22
No services found in Config Reloader 1 2021-05-21 2022-09-14
[Feature Request] Forward message without quote 1 2021-09-14 2022-09-11
Struggling to get X-Ray working in .NET Core 2 2021-05-10 2022-09-18
API Consulta informações detalhadas detran/denatram 1 2021-12-29 2022-09-19
release commands 0 2021-11-27 2022-01-22
web-settings: Languages list is not sorted for target language 0 2022-08-19 2022-09-22
JSON only operator handling for :=/:[email protected] --form/--multipart 0 2021-11-25 2022-09-20
lodash versions 4.17.11 should be updated 0 2021-08-30 2022-08-06
RPA.Database: Call Stored Procedure use of nextset() seems to be problematic 3 2021-10-04 2022-09-25
Automatically unleashed holes (e.g. in eliminator cases) are not displayed 1 2021-06-04 2022-08-29
THOLD ERROR: RPN Expression is invalid 1 2021-02-18 2022-08-20
Enable silent notifications without prompting the user 3 2018-04-27 2022-09-22
[Bug]: RegEx does not work in route 1 2021-08-20 2022-09-22
Old popeye docker image host in k8s cronjob.yml config 1 2021-07-23 2022-09-06
@microsoft/teamsfx still depending on @microsoft/teams-js ^1.9.0, while at least version 2.0.0 is required to support Teams apps across Microsoft 365 products 2 2022-09-13 2022-09-23
can jcasbin support multiple management API,such as AddPolicies()? 1 2021-10-24 2022-09-19
minor changes to clarify comments 3 2019-09-03 2022-09-22
Offline app: Dragging a hex from the website triggers error "Oops, this project is too new!" 10 2022-06-30 2022-09-19
Guests release 0.9.3 2 2021-09-01 2022-08-26
Add new-java-file command 0 2021-12-23 2022-09-21
AWS Toolkit Connect not present in Command Palette 2 2022-07-29 2022-09-15
Sonof Dual R3: Wrong Relay State in WebUI after power cycle while using PowerOnState 1 38 2022-03-09 2022-09-26
Unable to reference nested module within the repository using SSH 1 2022-01-12 2022-09-18
Jetpack: consider to replace the react.qrcode library 2 2022-08-30 2022-09-06
Migrate logfmt to new parser structure 1 2022-06-22 2022-07-11
ParsePush token not registered immediately 4 2020-11-18 2022-09-23
## 获取业务时间 date.get_bus_day 侧边栏渲染为 获取业务时间 date.getbusday 1 2021-07-13 2022-09-15
内存不断暴涨 最后崩溃掉 1 2018-09-04 2022-01-20
`embark-act` doesn't use project root directory with `projectile-find-file` 2 2022-01-25 2022-09-26