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 easy fix: Cannot read properties of undefined (reading 'length') #410

Open
Mansi1 opened this issue Jan 31, 2025 · 0 comments
Open

bug easy fix: Cannot read properties of undefined (reading 'length') #410

Mansi1 opened this issue Jan 31, 2025 · 0 comments

Comments

@Mansi1
Copy link

Mansi1 commented Jan 31, 2025

error message:

[vite:dts] Cannot read properties of undefined (reading 'length')
✓ built in 1.03s
error during build:
TypeError: Cannot read properties of undefined (reading 'length')
at transformAlias (file:///Users/mansi/Projects/npm/open-api/node_modules/vite-plugin-dts/dist/index.mjs:534:15)
at toLibName (file:///Users/mansi/Projects/npm/open-api/node_modules/vite-plugin-dts/dist/index.mjs:575:18)
at file:///Users/mansi/Projects/npm/open-api/node_modules/vite-plugin-dts/dist/index.mjs:586:25
at walkNode (file:///Users/mansi/Projects/npm/open-api/node_modules/vite-plugin-dts/dist/index.mjs:521:9)
at file:///Users/mansi/Projects/npm/open-api/node_modules/vite-plugin-dts/dist/index.mjs:525:38
at visitNodes (/Users/mansi/Projects/npm/open-api/node_modules/typescript/lib/typescript.js:32142:22)
at forEachChildInSourceFile (/Users/mansi/Projects/npm/open-api/node_modules/typescript/lib/typescript.js:32355:12)
at forEachChild (/Users/mansi/Projects/npm/open-api/node_modules/typescript/lib/typescript.js:32655:35)
at SourceFileObject.forEachChild (/Users/mansi/Projects/npm/open-api/node_modules/typescript/lib/typescript.js:150518:12)
at walkSourceFile (file:///Users/mansi/Projects/npm/open-api/node_modules/vite-plugin-dts/dist/index.mjs:525:14)
error Command failed with exit code 1.

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