You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to the latest Heft+TypeScript, I now occasionally get this error in the heft start dev server:
[build:typescript] File change detected. Starting incremental compilation...
[build:typescript] Error: Debug Failure. False expression: File extension for signature expected to be dts: Got:: C:/Git/my-repo/my-app/lib/ui/misc/App.d.ts.map
After this error is reported, the dev server will continue serving the old build. So you can spend several minutes debugging a "problem" that ultimately turns out be that you're debugging an outdated build.
Killing and restarting heft start fixes the problem.
Repro steps
I haven't been able to determiner repro steps yet.
@iclanton said he encountered the same issue recently.
Details
This error message is an assertion failure in the typescript package:
I also don't have a repro, but it happened to me fairly consistently. I also don't think it's heft 51 related, as the branch I've experienced it on is on 0.50.5.
(Might have happened for a while, as we don't often use heft watch mode, and use rush's watchForChanges from command-line.json instead)
Summary
After upgrading to the latest Heft+TypeScript, I now occasionally get this error in the
heft start
dev server:After this error is reported, the dev server will continue serving the old build. So you can spend several minutes debugging a "problem" that ultimately turns out be that you're debugging an outdated build.
Killing and restarting
heft start
fixes the problem.Repro steps
I haven't been able to determiner repro steps yet.
@iclanton said he encountered the same issue recently.
Details
This error message is an assertion failure in the
typescript
package:typescript/src/compiler/builderState.ts
So it seems that
heft-typescript-plugin
is sometimes passing an incorrect file extension to the compiler. (?)Why does the Heft dev server never recover however? In addition to fixing the root cause, maybe we could also make Heft's dev server more robust.
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@rushstack/heft
version?typescript
version?node -v
)?The text was updated successfully, but these errors were encountered: