반응형
[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"..

[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..

728x90
반응형