A2UI
A2UI copied to clipboard
Error running samples/client/lit/shell
I am seeing the below traceback upon running
cd samples/client/lit/shell
npm install
npm run dev
> @a2ui/[email protected] dev
> npm run serve --watch
npm warn Unknown cli config "--watch". This will stop working in the next major version of npm.
> @a2ui/[email protected] serve
> wireit
❌ [../../../../renderers/lit:build:tsc] exited with exit code 1. Output:
src/0.8/data/signal-model-processor.ts:19:29 - error TS2307: Cannot find module 'signal-utils/array' or its corresponding type declarations.
19 import { SignalArray } from "signal-utils/array";
~~~~~~~~~~~~~~~~~~~~
src/0.8/data/signal-model-processor.ts:20:27 - error TS2307: Cannot find module 'signal-utils/map' or its corresponding type declarations.
20 import { SignalMap } from "signal-utils/map";
~~~~~~~~~~~~~~~~~~
src/0.8/data/signal-model-processor.ts:21:30 - error TS2307: Cannot find module 'signal-utils/object' or its corresponding type declarations.
21 import { SignalObject } from "signal-utils/object";
~~~~~~~~~~~~~~~~~~~~~
src/0.8/data/signal-model-processor.ts:22:27 - error TS2307: Cannot find module 'signal-utils/set' or its corresponding type declarations.
22 import { SignalSet } from "signal-utils/set";
~~~~~~~~~~~~~~~~~~
src/0.8/ui/audio.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/audio.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/audio.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/audio.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/button.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/button.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/button.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/button.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/button.ts:56:35 - error TS2339: Property 'id' does not exist on type 'Button'.
56 sourceComponentId: this.id,
~~
src/0.8/ui/button.ts:59:14 - error TS2339: Property 'dispatchEvent' does not exist on type 'Button'.
59 this.dispatchEvent(evt);
~~~~~~~~~~~~~
src/0.8/ui/card.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/card.ts:18:31 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/card.ts:20:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
20 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/card.ts:21:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
21 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/checkbox.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/checkbox.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/checkbox.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/checkbox.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/column.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/column.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/column.ts:20:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
20 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/column.ts:22:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
22 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/context/theme.ts:17:31 - error TS2307: Cannot find module '@lit/context' or its corresponding type declarations.
17 import { createContext } from "@lit/context";
~~~~~~~~~~~~~~
src/0.8/ui/datetime-input.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/datetime-input.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/datetime-input.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/datetime-input.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/directives/markdown.ts:17:26 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { noChange } from "lit";
~~~~~
src/0.8/ui/directives/markdown.ts:23:8 - error TS2307: Cannot find module 'lit/directive.js' or its corresponding type declarations.
23 } from "lit/directive.js";
~~~~~~~~~~~~~~~~~~
src/0.8/ui/directives/markdown.ts:24:28 - error TS2307: Cannot find module 'lit/directives/unsafe-html.js' or its corresponding type declarations.
24 import { unsafeHTML } from "lit/directives/unsafe-html.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/directives/markdown.ts:25:24 - error TS2307: Cannot find module 'markdown-it' or its corresponding type declarations.
25 import MarkdownIt from "markdown-it";
~~~~~~~~~~~~~
src/0.8/ui/directives/markdown.ts:26:28 - error TS2307: Cannot find module 'markdown-it/lib/renderer.mjs' or its corresponding type declarations.
26 import { RenderRule } from "markdown-it/lib/renderer.mjs";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/directives/markdown.ts:31:17 - error TS7006: Parameter 'str' implicitly has an 'any' type.
31 highlight: (str, lang) => {
~~~
src/0.8/ui/directives/markdown.ts:31:22 - error TS7006: Parameter 'lang' implicitly has an 'any' type.
31 highlight: (str, lang) => {
~~~~
src/0.8/ui/directives/markdown.ts:104:9 - error TS7006: Parameter 'tokens' implicitly has an 'any' type.
104 tokens,
~~~~~~
src/0.8/ui/directives/markdown.ts:105:9 - error TS7006: Parameter 'idx' implicitly has an 'any' type.
105 idx,
~~~
src/0.8/ui/directives/markdown.ts:106:9 - error TS7006: Parameter 'options' implicitly has an 'any' type.
106 options,
~~~~~~~
src/0.8/ui/directives/markdown.ts:107:9 - error TS7006: Parameter '_env' implicitly has an 'any' type.
107 _env,
~~~~
src/0.8/ui/directives/markdown.ts:108:9 - error TS7006: Parameter 'self' implicitly has an 'any' type.
108 self
~~~~
src/0.8/ui/directives/sanitizer.ts:17:30 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, render } from "lit";
~~~~~
src/0.8/ui/divider.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/divider.ts:18:31 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/divider.ts:20:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
20 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/divider.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/icon.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/icon.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/icon.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/icon.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/image.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/image.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/image.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/image.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/list.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/list.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/list.ts:20:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
20 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/list.ts:21:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
21 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/modal.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/modal.ts:18:45 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, query, state } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/modal.ts:20:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
20 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/modal.ts:21:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
21 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/modal.ts:23:21 - error TS2307: Cannot find module 'lit/directives/ref.js' or its corresponding type declarations.
23 import { ref } from "lit/directives/ref.js";
~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/multiple-choice.ts:17:52 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, PropertyValues, nothing } from "lit";
~~~~~
src/0.8/ui/multiple-choice.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/multiple-choice.ts:22:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
22 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/multiple-choice.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:17:31 - error TS2307: Cannot find module '@lit-labs/signals' or its corresponding type declarations.
17 import { SignalWatcher } from "@lit-labs/signals";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:18:25 - error TS2307: Cannot find module '@lit/context' or its corresponding type declarations.
18 import { consume } from "@lit/context";
~~~~~~~~~~~~~~
src/0.8/ui/root.ts:27:8 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
27 } from "lit";
~~~~~
src/0.8/ui/root.ts:28:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
28 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:29:21 - error TS2307: Cannot find module 'lit/directives/map.js' or its corresponding type declarations.
29 import { map } from "lit/directives/map.js";
~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:30:24 - error TS2307: Cannot find module 'signal-utils/subtle/microtask-effect' or its corresponding type declarations.
30 import { effect } from "signal-utils/subtle/microtask-effect";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:70:10 - error TS2339: Property 'style' does not exist on type 'Root'.
70 this.style.setProperty("--weight", `${weight}`);
~~~~~
src/0.8/ui/root.ts:142:37 - error TS7006: Parameter 'component' implicitly has an 'any' type.
142 return html` ${map(components, (component) => {
~~~~~~~~~
src/0.8/ui/root.ts:151:22 - error TS2352: Conversion of type 'HTMLElement' to type 'Root' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type 'HTMLElement' is missing the following properties from type 'Root': surfaceId, component, theme, childComponents, and 11 more.
151 const el = new elCtor() as Root;
~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:152:14 - error TS2339: Property 'id' does not exist on type 'Root'.
152 el.id = node.id;
~~
src/0.8/ui/root.ts:154:16 - error TS2339: Property 'slot' does not exist on type 'Root'.
154 el.slot = node.slotName;
~~~~
src/0.8/ui/root.ts:511:16 - error TS2352: Conversion of type 'HTMLElement' to type 'Root' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type 'HTMLElement' is missing the following properties from type 'Root': surfaceId, component, theme, childComponents, and 11 more.
511 const el = new elCtor() as Root;
~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:512:8 - error TS2339: Property 'id' does not exist on type 'Root'.
512 el.id = node.id;
~~
src/0.8/ui/root.ts:514:10 - error TS2339: Property 'slot' does not exist on type 'Root'.
514 el.slot = node.slotName;
~~~~
src/0.8/ui/row.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/row.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/row.ts:20:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
20 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/row.ts:22:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
22 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/slider.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/slider.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/slider.ts:23:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
23 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/slider.ts:24:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
24 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/styles.ts:17:27 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { unsafeCSS } from "lit";
~~~~~
src/0.8/ui/surface.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/surface.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/surface.ts:22:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
22 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/tabs.ts:17:52 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, PropertyValues, nothing } from "lit";
~~~~~
src/0.8/ui/tabs.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/tabs.ts:20:24 - error TS2307: Cannot find module 'lit/directives/repeat.js' or its corresponding type declarations.
20 import { repeat } from "lit/directives/repeat.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/tabs.ts:23:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
23 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/tabs.ts:24:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
24 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/tabs.ts:50:32 - error TS2339: Property 'children' does not exist on type 'Tabs'.
50 for (const child of this.children) {
~~~~~~~~
src/0.8/ui/tabs.ts:53:34 - error TS2339: Property 'children' does not exist on type 'Tabs'.
53 const selectedChild = this.children[this.selected];
~~~~~~~~
src/0.8/ui/tabs.ts:71:30 - error TS7006: Parameter 'title' implicitly has an 'any' type.
71 ${repeat(this.titles, (title, idx) => {
~~~~~
src/0.8/ui/tabs.ts:71:37 - error TS7006: Parameter 'idx' implicitly has an 'any' type.
71 ${repeat(this.titles, (title, idx) => {
~~~
src/0.8/ui/text-field.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/text-field.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/text-field.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/text-field.ts:24:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
24 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/text.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/text.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/text.ts:22:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
22 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/text.ts:24:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
24 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/ui.ts:111:34 - error TS2344: Type 'A2UITagNameMap[T]' does not satisfy the constraint 'HTMLElement'.
Type 'Root | Audio | Button | Card | Checkbox | Column | DateTimeInput | Divider | Icon | Image | ... 9 more ... | Video' is not assignable to type 'HTMLElement'.
Type 'Root' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, autocorrect, and 314 more.
111 | CustomElementConstructorOf<A2UITagNameMap[T]>
~~~~~~~~~~~~~~~~~
src/0.8/ui/video.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/video.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/video.ts:22:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
22 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/video.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 117 errors.
❌ 2 scripts failed.
❌ [../../../../renderers/lit:build:tsc] Failed on previous watch iteration
❌ 2 scripts failed.
(v3.13) ➜ shell git:(main)
(v3.13) ➜ shell git:(main)
(v3.13) ➜ shell git:(main) npm i
added 46 packages, and audited 183 packages in 749ms
32 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
(v3.13) ➜ shell git:(main) npm run dev
> @a2ui/[email protected] dev
> npm run serve --watch
npm warn Unknown cli config "--watch". This will stop working in the next major version of npm.
> @a2ui/[email protected] serve
> wireit
❌ [../../../../renderers/lit:build:tsc] exited with exit code 1. Output:
src/0.8/data/signal-model-processor.ts:19:29 - error TS2307: Cannot find module 'signal-utils/array' or its corresponding type declarations.
19 import { SignalArray } from "signal-utils/array";
~~~~~~~~~~~~~~~~~~~~
src/0.8/data/signal-model-processor.ts:20:27 - error TS2307: Cannot find module 'signal-utils/map' or its corresponding type declarations.
20 import { SignalMap } from "signal-utils/map";
~~~~~~~~~~~~~~~~~~
src/0.8/data/signal-model-processor.ts:21:30 - error TS2307: Cannot find module 'signal-utils/object' or its corresponding type declarations.
21 import { SignalObject } from "signal-utils/object";
~~~~~~~~~~~~~~~~~~~~~
src/0.8/data/signal-model-processor.ts:22:27 - error TS2307: Cannot find module 'signal-utils/set' or its corresponding type declarations.
22 import { SignalSet } from "signal-utils/set";
~~~~~~~~~~~~~~~~~~
src/0.8/ui/audio.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/audio.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/audio.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/audio.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/button.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/button.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/button.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/button.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/button.ts:56:35 - error TS2339: Property 'id' does not exist on type 'Button'.
56 sourceComponentId: this.id,
~~
src/0.8/ui/button.ts:59:14 - error TS2339: Property 'dispatchEvent' does not exist on type 'Button'.
59 this.dispatchEvent(evt);
~~~~~~~~~~~~~
src/0.8/ui/card.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/card.ts:18:31 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/card.ts:20:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
20 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/card.ts:21:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
21 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/checkbox.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/checkbox.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/checkbox.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/checkbox.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/column.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/column.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/column.ts:20:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
20 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/column.ts:22:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
22 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/context/theme.ts:17:31 - error TS2307: Cannot find module '@lit/context' or its corresponding type declarations.
17 import { createContext } from "@lit/context";
~~~~~~~~~~~~~~
src/0.8/ui/datetime-input.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/datetime-input.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/datetime-input.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/datetime-input.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/directives/markdown.ts:17:26 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { noChange } from "lit";
~~~~~
src/0.8/ui/directives/markdown.ts:23:8 - error TS2307: Cannot find module 'lit/directive.js' or its corresponding type declarations.
23 } from "lit/directive.js";
~~~~~~~~~~~~~~~~~~
src/0.8/ui/directives/markdown.ts:24:28 - error TS2307: Cannot find module 'lit/directives/unsafe-html.js' or its corresponding type declarations.
24 import { unsafeHTML } from "lit/directives/unsafe-html.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/directives/markdown.ts:25:24 - error TS2307: Cannot find module 'markdown-it' or its corresponding type declarations.
25 import MarkdownIt from "markdown-it";
~~~~~~~~~~~~~
src/0.8/ui/directives/markdown.ts:26:28 - error TS2307: Cannot find module 'markdown-it/lib/renderer.mjs' or its corresponding type declarations.
26 import { RenderRule } from "markdown-it/lib/renderer.mjs";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/directives/markdown.ts:31:17 - error TS7006: Parameter 'str' implicitly has an 'any' type.
31 highlight: (str, lang) => {
~~~
src/0.8/ui/directives/markdown.ts:31:22 - error TS7006: Parameter 'lang' implicitly has an 'any' type.
31 highlight: (str, lang) => {
~~~~
src/0.8/ui/directives/markdown.ts:104:9 - error TS7006: Parameter 'tokens' implicitly has an 'any' type.
104 tokens,
~~~~~~
src/0.8/ui/directives/markdown.ts:105:9 - error TS7006: Parameter 'idx' implicitly has an 'any' type.
105 idx,
~~~
src/0.8/ui/directives/markdown.ts:106:9 - error TS7006: Parameter 'options' implicitly has an 'any' type.
106 options,
~~~~~~~
src/0.8/ui/directives/markdown.ts:107:9 - error TS7006: Parameter '_env' implicitly has an 'any' type.
107 _env,
~~~~
src/0.8/ui/directives/markdown.ts:108:9 - error TS7006: Parameter 'self' implicitly has an 'any' type.
108 self
~~~~
src/0.8/ui/directives/sanitizer.ts:17:30 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, render } from "lit";
~~~~~
src/0.8/ui/divider.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/divider.ts:18:31 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/divider.ts:20:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
20 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/divider.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/icon.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/icon.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/icon.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/icon.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/image.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/image.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/image.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/image.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/list.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/list.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/list.ts:20:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
20 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/list.ts:21:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
21 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/modal.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/modal.ts:18:45 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, query, state } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/modal.ts:20:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
20 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/modal.ts:21:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
21 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/modal.ts:23:21 - error TS2307: Cannot find module 'lit/directives/ref.js' or its corresponding type declarations.
23 import { ref } from "lit/directives/ref.js";
~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/multiple-choice.ts:17:52 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, PropertyValues, nothing } from "lit";
~~~~~
src/0.8/ui/multiple-choice.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/multiple-choice.ts:22:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
22 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/multiple-choice.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:17:31 - error TS2307: Cannot find module '@lit-labs/signals' or its corresponding type declarations.
17 import { SignalWatcher } from "@lit-labs/signals";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:18:25 - error TS2307: Cannot find module '@lit/context' or its corresponding type declarations.
18 import { consume } from "@lit/context";
~~~~~~~~~~~~~~
src/0.8/ui/root.ts:27:8 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
27 } from "lit";
~~~~~
src/0.8/ui/root.ts:28:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
28 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:29:21 - error TS2307: Cannot find module 'lit/directives/map.js' or its corresponding type declarations.
29 import { map } from "lit/directives/map.js";
~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:30:24 - error TS2307: Cannot find module 'signal-utils/subtle/microtask-effect' or its corresponding type declarations.
30 import { effect } from "signal-utils/subtle/microtask-effect";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:70:10 - error TS2339: Property 'style' does not exist on type 'Root'.
70 this.style.setProperty("--weight", `${weight}`);
~~~~~
src/0.8/ui/root.ts:142:37 - error TS7006: Parameter 'component' implicitly has an 'any' type.
142 return html` ${map(components, (component) => {
~~~~~~~~~
src/0.8/ui/root.ts:151:22 - error TS2352: Conversion of type 'HTMLElement' to type 'Root' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type 'HTMLElement' is missing the following properties from type 'Root': surfaceId, component, theme, childComponents, and 11 more.
151 const el = new elCtor() as Root;
~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:152:14 - error TS2339: Property 'id' does not exist on type 'Root'.
152 el.id = node.id;
~~
src/0.8/ui/root.ts:154:16 - error TS2339: Property 'slot' does not exist on type 'Root'.
154 el.slot = node.slotName;
~~~~
src/0.8/ui/root.ts:511:16 - error TS2352: Conversion of type 'HTMLElement' to type 'Root' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type 'HTMLElement' is missing the following properties from type 'Root': surfaceId, component, theme, childComponents, and 11 more.
511 const el = new elCtor() as Root;
~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/root.ts:512:8 - error TS2339: Property 'id' does not exist on type 'Root'.
512 el.id = node.id;
~~
src/0.8/ui/root.ts:514:10 - error TS2339: Property 'slot' does not exist on type 'Root'.
514 el.slot = node.slotName;
~~~~
src/0.8/ui/row.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/row.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/row.ts:20:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
20 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/row.ts:22:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
22 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/slider.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/slider.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/slider.ts:23:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
23 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/slider.ts:24:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
24 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/styles.ts:17:27 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { unsafeCSS } from "lit";
~~~~~
src/0.8/ui/surface.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/surface.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/surface.ts:22:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
22 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/tabs.ts:17:52 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, PropertyValues, nothing } from "lit";
~~~~~
src/0.8/ui/tabs.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/tabs.ts:20:24 - error TS2307: Cannot find module 'lit/directives/repeat.js' or its corresponding type declarations.
20 import { repeat } from "lit/directives/repeat.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/tabs.ts:23:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
23 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/tabs.ts:24:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
24 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/tabs.ts:50:32 - error TS2339: Property 'children' does not exist on type 'Tabs'.
50 for (const child of this.children) {
~~~~~~~~
src/0.8/ui/tabs.ts:53:34 - error TS2339: Property 'children' does not exist on type 'Tabs'.
53 const selectedChild = this.children[this.selected];
~~~~~~~~
src/0.8/ui/tabs.ts:71:30 - error TS7006: Parameter 'title' implicitly has an 'any' type.
71 ${repeat(this.titles, (title, idx) => {
~~~~~
src/0.8/ui/tabs.ts:71:37 - error TS7006: Parameter 'idx' implicitly has an 'any' type.
71 ${repeat(this.titles, (title, idx) => {
~~~
src/0.8/ui/text-field.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/text-field.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/text-field.ts:21:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
21 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/text-field.ts:24:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
24 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/text.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/text.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/text.ts:22:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
22 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/text.ts:24:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
24 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/ui.ts:111:34 - error TS2344: Type 'A2UITagNameMap[T]' does not satisfy the constraint 'HTMLElement'.
Type 'Root | Audio | Button | Card | Checkbox | Column | DateTimeInput | Divider | Icon | Image | ... 9 more ... | Video' is not assignable to type 'HTMLElement'.
Type 'Root' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, autocorrect, and 314 more.
111 | CustomElementConstructorOf<A2UITagNameMap[T]>
~~~~~~~~~~~~~~~~~
src/0.8/ui/video.ts:17:36 - error TS2307: Cannot find module 'lit' or its corresponding type declarations.
17 import { html, css, nothing } from "lit";
~~~~~
src/0.8/ui/video.ts:18:41 - error TS2307: Cannot find module 'lit/decorators.js' or its corresponding type declarations.
18 import { customElement, property } from "lit/decorators.js";
~~~~~~~~~~~~~~~~~~~
src/0.8/ui/video.ts:22:26 - error TS2307: Cannot find module 'lit/directives/class-map.js' or its corresponding type declarations.
22 import { classMap } from "lit/directives/class-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/0.8/ui/video.ts:23:26 - error TS2307: Cannot find module 'lit/directives/style-map.js' or its corresponding type declarations.
23 import { styleMap } from "lit/directives/style-map.js";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 117 errors.
❌ 2 scripts failed.