• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

npm run start 에러 납니다.

21.07.15 10:16 작성 조회수 391

0

client@0.1.0 start C:\Users\LG\OneDrive\바탕 화면\blog\client > react-scripts start Failed to compile. Compiling... C:\Users\LG\OneDrive\바탕 화면\blog\client\node_modules\react-scripts\scripts\start.js:19 throw err; ^ [Error: ENOENT: no such file or directory, stat 'C:\Users\All Users'] { errno: -4058, code: 'ENOENT', syscall: 'stat', path: 'C:\\Users\\All Users' } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! client@0.1.0 start: `react-scripts start` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the client@0.1.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\LG\AppData\Roaming\npm-cache\_logs\2021-07-15T01_15_27_731Z-debug.log
이런식으로 run 시켰을때 에러가 납니다 그전에
import 하기전엔 되는거 확인 했는데ㅠ

답변 4

·

답변을 작성해보세요.

0

위 에러를 읽어보면 All Users라는 곳에서 문제가 있는 것 같습니다. 

package.json을 다시 검토하시면 되실 것 같네요. 대부분 이런문제는 오타 문제가 많습니다. 

0

집에있는 맥북에선 되네요ㅠ

0

말씀해주신데로 경로에 한글이안들어가게 했는데도 에러가 납니다 ㅠㅠ App.js 에 Hello만나왔을때는 에러가 안나다가 import시켜준 뒤로나와요

0

경로명에 한글이 들어가 있으면 에러가 납니다. 

경로를 다시 만들어보시기 바랍니다.