
[MySQL] RuntimeError unable to execute command chcp
2024. 1. 26. 05:59
개발/Error note
재부팅 후 다시 프로젝트를 실행하는데 db 연결이 안됐다. workbench를 확인해보니 아래와 같은 에러가 뜨고있었다. RuntimeError unable to execute command chcp 일단은 취소 누르고 다시 메인페이지로 이동해준뒤 services.msc 를 실행해준다 윈도우 내 서비스들을 관리 서비스관리자이다. 여기서 MySQL을 찾아서 시작을 켜준다. 실행중으로 상태가 바뀐걸 확인해주고, 다시 Workbench 접속을 한다. 정상적으로 스키마가 뜨는걸 확인할 수 있었다.

[Node] sequelize throw new Error(`${source.name}.${_.lowerFirst(Type.name)} called with something that's not a subclass of Sequelize.Model`); ^Error: Image.belongsTo called with something that's not a subclass of Sequelize.Model
2023. 11. 5. 22:59
개발/Error note
sequelize 설정을 끝내고 테이블을 생성하려는데 오류가 떴다. sequelize throw new Error(`${source.name}.${_.lowerFirst(Type.name)} called with something that's not a subclass of Sequelize.Model`); ^Error: Image.belongsTo called with something that's not a subclass of Sequelize.Model 이번 오류는 삽질을 많이했는데 이유가 Error: Image.belongsTo called with something that's not a subclass of Sequelize.Model at Image. (C:\Users\INA\Documen..