Plugins: Second build fails when `incremental` set to `true`

Created on 9 Mar 2020  ·  9Comments  ·  Source: rollup/plugins

  • Rollup Plugin Name: typescript
  • Rollup Plugin Version: 4.0.0
  • Rollup Version: 2.0.2
  • Operating System (or Browser): macOS 10.15.3 (19D76)
  • Node Version: 12.16.0

How Do We Reproduce?

git clone [email protected]:Moeriki/bug-rollup-ts-incremental.git
cd bug-rollup-ts-incremental/
npm install
npm run build
npm run build

Expected Behavior

Build succeeds two times.

Actual Behavior

Build fails the second time.

Work-around

npm run build
npm run clean
npm run build

Or set compilerOptions.incremental to false.

c³ ⋅ PR welcome t¹ 🐞 bug 🔌 plugin-typescript

Most helpful comment

@shellscape I don't understand the concept of housekeeping. You're closing an issue that is not fixed to reduce number of open issues? I can't see the advantages in doing that. Can you explain me that?

All 9 comments

@Moeriki thanks for the issue. Please verify that this also happens when using NPM. NPM is our baseline in the project for issues and repo-based reproductions.

Tested and verified the same issue with npm. Updated issue to reflect.

The issue though may be related to my compiler options. I'm still testing some things.

Same happens here and we're using PNPM.

Maybe this is the cause of https://github.com/rollup/plugins/issues/287

Please use the "edit" function on replies to add info and cut down on noise.

Hey folks. This issue hasn't received any traction for more than 90 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it.

This was fixed?

@VitorLuizC please re-read my previous comment.

@shellscape I don't understand the concept of housekeeping. You're closing an issue that is not fixed to reduce number of open issues? I can't see the advantages in doing that. Can you explain me that?

It's quite simple really; we have finite resources and must focus on issues that have activity and active triage. Housekeeping is very common in large projects (most even have bots that handle it for the project). We haven't received any help from the community to resolve this, which is unfortunate but OK, so we're closing this until such time that someone would like to pick up the effort.

If you're interested in contributing a fix for this issue, please do open a PR and we'll get some folks to review it.

Was this page helpful?
0 / 5 - 0 ratings