• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

이미지 파일을 서버로 보내기를 따라하고 있는도중 에러가 발생하여 질문드립니다.

21.01.27 10:21 작성 조회수 160

0

multer를 설치하려고하나 계속해서 아래와 같은 에러가 발생하여 설치를 못하고 있는데  어떤 것을 더 설치해야되는건지 질문 드립니다. 

======================================

npm WARN react-redux@5.1.2 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself.

npm WARN react-redux@5.1.2 requires a peer of redux@^2.0.0 || ^3.0.0 || ^4.0.0-0 but none is installed. You must install peer dependencies yourself.

npm WARN react-boiler-plate@1.0.0 No repository field.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: 

{"os":"win32","arch":"x64"})

+ multer@1.4.2

updated 2 packages and audited 528 packages in 18.614s

4 packages are looking for funding

  run `npm fund` for details      

found 3 vulnerabilities (2 low, 1 moderate)

  run `npm audit fix` to fix them, or `npm audit` for details

==============================

답변 1

답변을 작성해보세요.

0

안녕하세요 박종환님  !  
multer는 모듈은 노드 js에 해당하는 부분입니다 

혹시  nodejs에 해당하는 곳에 설치하신것인가요?!   
client 디렉토리 안이 아닌 루트 디렉토리에서 npm install multer --save 해주셔야합니다.