-
Notifications
You must be signed in to change notification settings - Fork 40
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
all: smoother README chatapi notes (fixes #8189) #8190
all: smoother README chatapi notes (fixes #8189) #8190
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This didn't work for me, and I got the below error. Don't I need to make changes to the package.json?
jesse@DESKTOP-N69C4E7 MINGW64 ~/ole/planet/chatapi (sync-with-master)
$ npm run dev
[email protected] dev
nodemon --exec ts-node src/index.ts
[nodemon] 2.0.22
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: ts,json
[nodemon] starting ts-node src/index.ts
Error: listen EADDRINUSE: address already in use :::5000
at Server.setupListenHandle [as _listen2] (node:net:1817:16)
at listenInCluster (node:net:1865:12)
at Server.listen (node:net:1953:7)
at Object. (C:\Users\jesse\ole\planet\chatapi\src\index.ts:98:8)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module.m._compile (C:\Users\jesse\ole\planet\chatapi\node_modules\ts-node\src\index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Object.require.extensions. [as .ts] (C:\Users\jesse\ole\planet\chatapi\node_modules\ts-node\src\index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Function.Module._load (node:internal/modules/cjs/loader:1019:12) {
code: 'EADDRINUSE',
errno: -4091,
syscall: 'listen',
address: '::',
port: 5000
}
[nodemon] app crashed - waiting for file changes before starting...
This note is targeting that, I've moved it just above the node version note |
Fixes #8189
Add chatapi development notes