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

Not working after Vue update to 2.7.5 #32

Open
wal0x opened this issue Sep 7, 2022 · 0 comments
Open

Not working after Vue update to 2.7.5 #32

wal0x opened this issue Sep 7, 2022 · 0 comments

Comments

@wal0x
Copy link

wal0x commented Sep 7, 2022

Generating types stopped working after I updated vue to 2.7.5 with the error :

C:\Users\me\AppData\Roaming\npm\node_modules\vuetype\node_modules\typescript\lib\typescript.js:74441
            throw e;
            ^

RangeError: Maximum call stack size exceeded
    at resolveName (C:\Users\me\AppData\Roaming\npm\node_modules\vuetype\node_modules\typescript\lib\typescript.js:25417:29)
    at resolveEntityName (C:\Users\me\AppData\Roaming\npm\node_modules\vuetype\node_modules\typescript\lib\typescript.js:26179:26)
    at resolveTypeReferenceName (C:\Users\me\AppData\Roaming\npm\node_modules\vuetype\node_modules\typescript\lib\typescript.js:30849:20)
    at getTypeFromTypeReference (C:\Users\me\AppData\Roaming\npm\node_modules\vuetype\node_modules\typescript\lib\typescript.js:30953:30)
    at getTypeFromTypeNode (C:\Users\me\AppData\Roaming\npm\node_modules\vuetype\node_modules\typescript\lib\typescript.js:31948:28)
    at getSignatureReturnTypeFromDeclaration (C:\Users\me\AppData\Roaming\npm\node_modules\vuetype\node_modules\typescript\lib\typescript.js:30430:24)
    at getSignatureFromDeclaration (C:\Users\me\AppData\Roaming\npm\node_modules\vuetype\node_modules\typescript\lib\typescript.js:30393:34)
    at getSignaturesOfSymbol (C:\Users\me\AppData\Roaming\npm\node_modules\vuetype\node_modules\typescript\lib\typescript.js:30500:37)
    at resolveAnonymousTypeMembers (C:\Users\me\AppData\Roaming\npm\node_modules\vuetype\node_modules\typescript\lib\typescript.js:29608:38)
    at resolveStructuredTypeMembers (C:\Users\me\AppData\Roaming\npm\node_modules\vuetype\node_modules\typescript\lib\typescript.js:29804:25)

I tried the previous minor version 2.7.4 and I didn't have the issue.

I create a new project using vue-cli 4.5.19 and I had the same issue with vue 2.7.5 so I think everyone can generate the same code base to reproduce the error.

Here is my dependencies :

  "dependencies": {
    "core-js": "^3.6.5",
    "vue": "2.7.5",
    "vue-class-component": "^7.2.3",
    "vue-property-decorator": "^9.1.2",
    "vuetype": "^0.3.2"
  },
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^4.18.0",
    "@typescript-eslint/parser": "^4.18.0",
    "@vue/cli-plugin-babel": "~4.5.19",
    "@vue/cli-plugin-eslint": "~4.5.19",
    "@vue/cli-plugin-typescript": "~4.5.19",
    "@vue/cli-service": "~4.5.19",
    "@vue/eslint-config-prettier": "^6.0.0",
    "@vue/eslint-config-typescript": "^7.0.0",
    "eslint": "^6.7.2",
    "eslint-plugin-prettier": "^3.3.1",
    "eslint-plugin-vue": "^6.2.2",
    "prettier": "^2.2.1",
    "typescript": "~4.1.5",
    "vue-template-compiler": "2.7.5"
  }

I know that the support of this repo is kind of ended but no harm in tossing a bottle into the sea

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

1 participant