반응형
[node.js] no such file or directory (feat. 사소한 실수)
Server 2018. 4. 16. 14:04

업로드 코드에서 아래와 같은 에러가 발생. 123Error: ENOENT: no such file or directory, rename '/var/folders/9n/785gcy3j5nb5hkgldym9r6x00000gn/T/upload_bf35eaa00eb98c26f00ad6e50acd5699' -> 'tmp/test.png'Colored by Color Scriptercs 그렇다면 해당 소스를 다시보자. 123456789101112 var form = new formidable.IncomingForm(); console.log("about to parse"); form.parse(request, function(error, fields, files) { console.log("parsing done"..

EC2에서 Telnet이 작동하지 않을 때
Server 2018. 4. 12. 18:39

일단 설치가 되지 않았을 수 있다.이 경우에는 설치 확인을 해보자. (출저) 12345// telnet 설치 확인 telnet localhost 80 -bash: telnet: command not foundcs 자... 위와 같이 not found가 보이면 이제 설치를 하면된다. 1yum install telnetcs 이 때 root 권한 관련 에러가 나타날 수 있다.그럴 경우에는 root 권한을 가지고 와야한다.설명하기 귀찮으니 선배 블로거의 링크를 아래에 남긴다. 훌륭하고 멋진 선배 블로거 : https://goo.gl/QxChwW 이런 분들. 흥했으면 좋겠다.

[Node.js] UNABLE_TO_GET_ISSUER_CERT_LOCALLY Error
Server 2018. 4. 9. 16:15

node.js를 사용하기 위해 express를 설치할 때 였다. 123456789101112131415161718192021222324252627282930$ npm install express npm http GET https://registry.npmjs.org/expressnpm http GET https://registry.npmjs.org/expressnpm http GET https://registry.npmjs.org/expressnpm ERR! Error: UNABLE_TO_GET_ISSUER_CERT_LOCALLYnpm ERR! at SecurePair. (tls.js:1430:32)npm ERR! at SecurePair.emit (events.js:92:17)npm ERR! at Se..

[Git] 특정 파일들만 원복을 하고 싶다면?
Tool 2018. 4. 3. 12:48

브랜치 소스들이 섞이다보면 나중에 commit을 할 때 불필요한 소스들이 보인다.아뿔사. 낭패구만.얘들은 원복을 시켜야하는데...라는 순간이 있다. 이럴 경우 아래와 같이 checkout을 하면된다. 1234567git checkout -- /** example.1 **/git checkout dev -- /Users/user/dev/test-proj/app/src/main/java/com/test-pack/TestActivity.java /** example.2 **/git checkout dev -- /Users/user/dev/test-proj/app/src/main/java/com/test-packcs 위의 예시 1 번처럼 할 경우 한개의 소스만 dev 브랜치 기준으로 원복이 되고2번의 경우처럼 ..

[읽어 볼 글] 2018.04.02
Memo 2018. 4. 2. 19:08

효율적인 안드로이드 앱 개발https://www.slideshare.net/deview/1-a5-39609525초급에서 벗어나기 위해 참고하면 좋을 글 안드로이드에 Clean Architecture 적용하기https://academy.realm.io/kr/posts/clean-architecture-in-android/코틀린 예시로 만든 레이어 구조

728x90
반응형