Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build xterm.ts more errors #354

Closed
hktalent opened this issue Oct 29, 2023 · 0 comments
Closed

build xterm.ts more errors #354

hktalent opened this issue Oct 29, 2023 · 0 comments

Comments

@hktalent
Copy link

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 hktalent closed this as completed Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant