DEV Community

Discussion on: How to use with Next.js, Express and TypeScript (ES6 import instead of require statements)

huydhoang profile image

Good article, just one detail should be fixed:

npm install express
npm install -D @types/express
Enter fullscreen mode Exit fullscreen mode

Installing socket-io instead of will give you error. And @types/express should be saved in devDependencies, by convention.