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

Error: "The "reportFilename" setting is missing" in v3.3.0 #246

Closed
3 tasks done
Uninen opened this issue Jul 17, 2023 · 0 comments
Closed
3 tasks done

Error: "The "reportFilename" setting is missing" in v3.3.0 #246

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

Comments

@Uninen
Copy link

Uninen commented Jul 17, 2023

Describe the bug

After upgrading from version 3.2.0 to 3.3.0, I'm getting this error when building:

[vite:dts] Start rollup declaration files...
[vite:dts] Error parsing /home/runner/work/logger/logger/api-extractor.json:
The "reportFilename" setting is missing
✓ built in 3.62s
error during build:
Error: Error parsing /home/runner/work/logger/logger/api-extractor.json:
The "reportFilename" setting is missing
    at ExtractorConfig.prepare (/home/runner/work/logger/logger/node_modules/.pnpm/@microsoft+api-extractor@7.36.2_@types+node@20.4.2/node_modules/@microsoft/api-extractor/lib/api/ExtractorConfig.js:577:19)
    at rollupDeclarationFiles (/home/runner/work/logger/logger/node_modules/.pnpm/vite-plugin-dts@3.3.0_@types+node@20.4.2_typescript@5.1.6_vite@4.4.4/node_modules/vite-plugin-dts/dist/index.cjs:186:56)
    at Object.writeBundle (/home/runner/work/logger/logger/node_modules/.pnpm/vite-plugin-dts@3.3.0_@types+node@20.4.2_typescript@5.1.6_vite@4.4.4/node_modules/vite-plugin-dts/dist/index.cjs:841:13)
    at async Promise.all (index 0)
    at async PluginDriver.hookParallel (file:///home/runner/work/logger/logger/node_modules/.pnpm/rollup@3.26.2/node_modules/rollup/dist/es/shared/node-entry.js:25260:9)
    at async file:///home/runner/work/logger/logger/node_modules/.pnpm/rollup@3.26.2/node_modules/rollup/dist/es/shared/node-entry.js:26572:13
    at async catchUnfinishedHookActions (file:///home/runner/work/logger/logger/node_modules/.pnpm/rollup@3.26.2/node_modules/rollup/dist/es/shared/node-entry.js:25698:16)
    at async build (file:///home/runner/work/logger/logger/node_modules/.pnpm/vite@4.4.4_@types+node@20.4.2/node_modules/vite/dist/node/chunks/dep-abb4f102.js:47923:22)
    at async CAC.<anonymous> (file:///home/runner/work/logger/logger/node_modules/.pnpm/vite@4.4.4_@types+node@20.4.2/node_modules/vite/dist/node/cli.js:822:9)
 ELIFECYCLE  Command failed with exit code 1.

I believe the offending commit is this: e53c815

Reproduction

https://github.com/slipmatio/logger/tree/renovate/all

Steps to reproduce

  1. Run pnpm i
  2. Run pnpm build

System Info

Not dependent on system. But FWIW here's my local setup:

  System:
    OS: macOS 13.4.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 104.09 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 19.3.0 - ~/.nvm/versions/node/v19.3.0/bin/node
    Yarn: 3.6.1 - ~/.nvm/versions/node/v19.3.0/bin/yarn
    npm: 9.2.0 - ~/.nvm/versions/node/v19.3.0/bin/npm
    pnpm: 8.6.7 - ~/.nvm/versions/node/v19.3.0/bin/pnpm
  Browsers:
    Chrome: 114.0.5735.198
    Safari: 16.5.2
  npmPackages:
    @vitejs/plugin-vue: 4.2.3 => 4.2.3 
    vite: 4.4.4 => 4.4.4 
    vite-plugin-dts: 3.3.0 => 3.3.0

Validations

@qmhc qmhc added the bug Something isn't working label Jul 17, 2023
@qmhc qmhc closed this as completed in 27fe3c7 Jul 17, 2023
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