lit icon indicating copy to clipboard operation
lit copied to clipboard

[gen-wrapper-react] `lit labs gen --framework react` fails with exception

Open justinfagnani opened this issue 2 years ago • 2 comments

Which package(s) are affected?

Other/unknown (please mention in description)

Description

This is probably related to the TypeScript version changes we did recently. We need integration tests.

Reproduction

➜  demo-1 lit init
Created sharable element in my-element/.
➜  demo-1 lit labs gen --package my-element --framework react --out my-element-react
No tsconfig.json found; assuming package is JavaScript.
ts.formatDiagnosticsWithColorAndContext is not a function

Workaround

None

Is this a regression?

Yes. This used to work, but now it doesn't.

Affected versions

Lit CLI 0.6.0

Browser/OS/Node environment

OS: macOS 13.5 Node: v19.2.0

justinfagnani avatar Aug 08 '23 20:08 justinfagnani

Can confirm this is still a problem with Lit CLI 0.6.1

oligafner avatar Oct 16 '23 08:10 oligafner

is there a workaround ?

gethari avatar Feb 01 '24 11:02 gethari