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

Internal Error: Unable to follow symbol for "Parameters" #232

Closed
3 tasks done
beefchimi opened this issue Jul 2, 2023 · 0 comments
Closed
3 tasks done

Internal Error: Unable to follow symbol for "Parameters" #232

beefchimi opened this issue Jul 2, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@beefchimi
Copy link

Describe the bug

In attempting to upgrade from v2.3.0 to v3.0.2, my build command fails with the following error:

Screenshot

err

vite v4.3.9 building for production...
✓ 4 modules transformed.

[vite:dts] Start generate declaration files...
dist/emitten.es.js  3.71 kB │ gzip: 0.87 kB
[vite:dts] Start rollup declaration files...
[vite:dts] Internal Error: Unable to follow symbol for "Parameters"

You have encountered a software defect. Please consider reporting the issue to the maintainers of this application.
✓ built in 925ms
error during build:
Error: Internal Error: Unable to follow symbol for "Parameters"

You have encountered a software defect. Please consider reporting the issue to the maintainers of this application.
    at AstSymbolTable._analyzeChildTree (/Users/beefchimi/Development/Personal/emitten/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:328:43)
    at AstSymbolTable._analyzeChildTree (/Users/beefchimi/Development/Personal/emitten/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:377:18)
    at AstSymbolTable._analyzeChildTree (/Users/beefchimi/Development/Personal/emitten/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:377:18)
    at AstSymbolTable._analyzeChildTree (/Users/beefchimi/Development/Personal/emitten/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:377:18)
    at AstSymbolTable._analyzeChildTree (/Users/beefchimi/Development/Personal/emitten/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:377:18)
    at AstSymbolTable._analyzeChildTree (/Users/beefchimi/Development/Personal/emitten/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:377:18)
    at AstSymbolTable._analyzeAstSymbol (/Users/beefchimi/Development/Personal/emitten/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:247:18)
    at AstSymbolTable.analyze (/Users/beefchimi/Development/Personal/emitten/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:113:25)
    at /Users/beefchimi/Development/Personal/emitten/node_modules/@microsoft/api-extractor/lib/analyzer/ExportAnalyzer.js:247:62
    at Map.forEach (<anonymous>)

Reproduction

beefchimi/emitten@f5c84df

Steps to reproduce

  1. Clone the emitten repo.
  2. Bump vite-plugin-dts to 3.0.2.
  3. Run npm run build.

System Info

System:
  OS: macOS 13.4.1
  CPU: (10) arm64 Apple M1 Max
  Memory: 7.57 GB / 32.00 GB
  Shell: 5.9 - /bin/zsh
Binaries:
  Node: 18.14.2 - ~/.nvm/versions/node/v18.14.2/bin/node
  npm: 9.5.0 - ~/.nvm/versions/node/v18.14.2/bin/npm
Browsers:
  Firefox: 114.0.2
  Safari: 16.5.1
npmPackages:
  vite: ^4.3.9 => 4.3.9
  vite-plugin-dts: ^2.3.0 => 2.3.0

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants