fs.writeFile 오류
412
jj4783
19 asked
0
// TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
// at Object.writeFile (node:fs:2106:5)
// at /Users/sungjae/Desktop/likelion/project/웹메모장생활코딩/app_file.js:51:6
// at Layer.handle [as handle_request] (/Users/sungjae/Desktop/likelion/project/웹메모장생활코딩/node_modules/express/lib/router/layer.js:95:5)
// at next (/Users/sungjae/Desktop/likelion/project/웹메모장생활코딩/node_modules/express/lib/router/route.js:137:13)
// at Route.dispatch (/Users/sungjae/Desktop/likelion/project/웹메모장생활코딩/node_modules/express/lib/router/route.js:112:3)
// at Layer.handle [as handle_request] (/Users/sungjae/Desktop/likelion/project/웹메모장생활코딩/node_modules/express/lib/router/layer.js:95:5)
// at /Users/sungjae/Desktop/likelion/project/웹메모장생활코딩/node_modules/express/lib/router/index.js:281:22
// at Function.process_params (/Users/sungjae/Desktop/likelion/project/웹메모장생활코딩/node_modules/express/lib/router/index.js:341:12)
// at next (/Users/sungjae/Desktop/likelion/project/웹메모장생활코딩/node_modules/express/lib/router/index.js:275:10)
// at /Users/sungjae/Desktop/likelion/project/웹메모장생활코딩/node_modules/body-parser/lib/read.js:130:5
현재 이러한 오류가 뜨고있는데, 많은 구글링에도 답을 찾지 못하고있습니다,,,,어떤 부분이 문제일까요??
nodejs
Answer 0
localhost:3000/topic 을 했을 때 아무 화면도 render 이 안 됩니다 ㅠㅠ
0
551
1
name='title', name='description' 을 붙이는 순간 에러가 납니다.
0
343
1
public 디렉토리 어떻게 만들어요?
0
315
1
모듈을 찾을 수 없다고 합니다. 어떤 모듈을 설치해야하나요?
1
288
0
node:internal/modules/cjs/loader:922 이런 오류가 자꾸 발생해요
0
304
0
hostname과 port번호
0
640
1
require은 nodejs 에서만 동작하는 함수인가요?
0
291
0
app.get path에서 배열과 아닌 것의 차이.
0
214
0
제출버튼을 눌렀을 때 아무 반응이 없습니다 ㅠㅠ
0
289
1
output 관련 질문입니다!!
0
354
2
지금은 jade에서 pug로 업데이트 되었네요
4
614
4
졸음수업에서 빵터졌어요!
0
246
0
전체화면으로보고싶습니당 ㅠㅠ
0
335
0
Express, 템플릿 엔진 사용법 에서 질문
0
499
2
질문드립니다.
0
330
1
html을 jade로 변환시 css 파일 적용방법 문의
0
252
0
vim app.js 모르겠습니다
0
381
2
강의 촬영 날짜
0
312
0
지금은 jade가 아닌 pug로 이름이 바뀌었습니다.
2
222
0
아래분과 같은 오류요
0
246
1
아래분과 같은 오류요
0
160
0
template 를 여러가지 사용할수 있는건가요?
0
167
0
jade로 css 제어가...
0
230
1
atom에디터는 반드시 저장을 해야될듯..
0
203
1

