gotty icon indicating copy to clipboard operation
gotty copied to clipboard

build xterm.ts more errors

Open hktalent opened this issue 8 months ago • 0 comments

js $ pwd /Users/51pwn/MyWork/gotty/js yarn install yarn build error:

ERROR in /Users/51pwn/MyWork/gotty/js/src/xterm.ts
./src/xterm.ts 5:5-14
[tsl] ERROR in /Users/51pwn/MyWork/gotty/js/src/xterm.ts(5,6)
      TS2339: Property 'loadAddon' does not exist on type 'typeof import("xterm")'.
 @ ./src/main.ts 4:14-32

ERROR in /Users/51pwn/MyWork/gotty/js/src/xterm.ts
./src/xterm.ts 9:10-14
[tsl] ERROR in /Users/51pwn/MyWork/gotty/js/src/xterm.ts(9,11)
      TS2709: Cannot use namespace 'bare' as a type.
 @ ./src/main.ts 4:14-32

ERROR in /Users/51pwn/MyWork/gotty/js/src/xterm.ts
./src/xterm.ts 20:24-28
[tsl] ERROR in /Users/51pwn/MyWork/gotty/js/src/xterm.ts(20,25)
      TS2351: This expression is not constructable.
  Type 'typeof import("xterm")' has no construct signatures.
 @ ./src/main.ts 4:14-32

3 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.89.0 compiled with 3 errors in 7392 ms

hktalent avatar Oct 29 '23 13:10 hktalent