NodeJS에서 스크립트를 실행하기 위해 npm run을 통해 명령을 실행하면 아래와 같이 에러가 발생하며 진행되지 않는 경우가 있습니다. node:events:491 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE: address already in use :::5000 at Server.setupListenHandle...
카테고리 - 프로그래밍
개발 카테고리에 대한 게시글을 보여줍니다.
[ERR_ASSERTION]: Missing where attribute in the options parameter 해결
JavaScript ORM 라이브러리인 Sequelize를 사용하면서 아래와 같은 에러가 발생하는 경우가 있습니다. node:internal/process/promises:246 triggerUncaughtException(err, true /* fromPromise */); ^ AssertionError [ERR_ASSERTION]: Missing where attribute in the...
[Next.js] getServerSideProps Prop이 null로 전달되지 않는 문제
Next.js getServerSideProps prop is null Next.js 프로젝트에서 getServerSideProps를 사용하여 프리렌더 데이터를 보내는 경우가 있습니다. export const getServerSideProps = async ({ locale, query }) => { return { props: { preFetchedItem: await axios...