목록전체 글 (143)
개발자의 logs
https://plming.tistory.com/211 EPERM: operation not permitted 에러날때 오류의 정확한 원인은 잘 모르겠지만 vscode가 뭔가를 물고 있어서 실행권한오류가 발생한것으로 보인다. 아래 방법으로 해결 되었다. (다른사람은 안될수도...) 1. vscode 를 닫는다 2. powershell 을 관 plming.tistory.com
부트캠프측에서 주관하는 것이 아닌 , 개인적으로 하는 기술면접 스터디 모임에 최근에 참여하게 됐다. 난 좋은 코드란 무엇인가에 대해서 질문을 준비해 가기로 했다. 인터넷에 좋은 코드란. 이라고 검색해보니 많은 결과가 나온다 . 하지만 내가 와닿는 부분이 아니라 그런지 , 입에 착 달라붙지는 않는다. 개인적으로 아직 개발자라고 하기엔 많이 부족한 상태이지만 지금까지의 경험으로 말해보자면, 내가 생각하는 좋은 코드란 , 동료들에게 코드에 대한 궁금함이나 의문이 남지않는 코드라고 생각한다. 내가 짠 코드에 대해 누군가 의문을 가졌다는 것은 코드를 가독성있게, 쉽게 짜지 못했다는 뜻일 것이다. 어렵고 간결한 코드보다는, 길더라도 가독성이 있는 코드가 좋다고 생각한다. 또한 동료에게 궁금함이 적게 남을수록 협업 ..
캐시가 쌓여서 작동을 안하는 것이다. git rm -r --cached . 를 친 후, 파일을 수정해서 다시 저장하면 다시 적용된다(파일명이 옅어진다) https://novemberfirst.tistory.com/91 [GIT] git Ignore가 적용이 안될 때 ignore를 추가했는데 자꾸 계속 파일들이 추가될 때 git의 캐시문제 이므로 터미널을 열어서 캐시 삭제 후 다시 커밋하면 된다. git rm -r --cached . git add . git commit -m "remove source files" 추가로 git.. novemberfirst.tistory.com

아래 방법으로 해결했다. 문제는 삭제한 함수를 컨트롤러에선 계속 호출하고 있었다는 것 ! https://stackoverflow.com/questions/34853675/error-post-requires-callback-functions-but-got-a-object-undefined-not-work Error: .post() requires callback functions but got a [object Undefined] not working there are several issues with the same theme, but I could not solve my problem. Error: Route.post() requires callback functions but got a [objec..
https://stackoverflow.com/questions/61597161/getting-mongoparseerror-invalid-message-size-1347703880-max-allowed-67108864 Getting MongoParseError: Invalid message size: 1347703880, max allowed: 67108864 I am building a RESTful BLogAPP where my stack is MEN while connecting to mongo server i am getting this error These were working But this happened My Mongo file code const mongoose = require('mo..

전에 쓰던 코드를 가져와서 쓰던중에, 에러가 떴다 Router.use() require a middleware function but got a Object 필요없는 코드를 주석처리하면서 module.exports = router 를 빼먹어서 생긴 오류라고 한다. module.exports =router를 빼먹으면 app.js or index.js 에서 호출이 불가능하기 때문이다. https://tristan91.tistory.com/529 TypeError: Router.use() requires a middleware function but got a Object routes폴더의 파일 마지막에 const express = require('express'); const router = express...