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

npm build error when build on my ubuntu server #158

Open
Vvauted opened this issue Jul 7, 2024 · 0 comments
Open

npm build error when build on my ubuntu server #158

Vvauted opened this issue Jul 7, 2024 · 0 comments

Comments

@Vvauted
Copy link

Vvauted commented Jul 7, 2024

using nodejs 22.4.0, npm 10,8.1, tsc 4.8.4

node_modules/@types/koa/index.d.ts:13:10 - error TS2305: Module '"async_hooks"' has no exported member 'AsyncLocalStorage'.

13 import { AsyncLocalStorage } from "async_hooks";
~~~~~~~~~~~~~~~~~

src/monitor.ts:19:22 - error TS18046: 'err' is of type 'unknown'.

19 ctx.status = err.statusCode || err.status || 500
~~~

src/monitor.ts:19:40 - error TS18046: 'err' is of type 'unknown'.

19 ctx.status = err.statusCode || err.status || 500
~~~

src/udpserver.ts:222:38 - error TS18046: 'e' is of type 'unknown'.

222 err = Error when login: ${e.message}

And when i start the program, i cant connect to the server
[ERROR] pcap_loop -1

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