FrontEnd/Error ๐Ÿ”จ

[React] npm ERR! code ELIFECYCLE / npm ERR! errno 1

BlogErin 2022. 7. 13. 04:01

๋ฆฌ์•กํŠธ๋ฅผ ์ฒ˜์Œ ์ ‘ํ•ด๋ณด๋ฉด์„œ ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  ์ž‘์—…ํ™˜๊ฒฝ์„ ์˜ฎ๊ฒผ๋”๋‹ˆ ์•„๋ž˜์˜ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค..

 

๋”๋ณด๊ธฐ

'react-scripts'์€(๋Š”) ๋‚ด๋ถ€ ๋˜๋Š” ์™ธ๋ถ€ ๋ช…๋ น, ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ํ”„๋กœ๊ทธ๋žจ, ๋˜๋Š”
๋ฐฐ์น˜ ํŒŒ์ผ์ด ์•„๋‹™๋‹ˆ๋‹ค.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! movie_app_2022@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the movie_app_2022@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\user\AppData\Roaming\npm-cache\_logs\2022-07-12T17_49_21_652Z-debug.log

 

โ— npm WARN Local package.json exists, but node_modules missing, did you mean to install?

 

๋กœ์ปฌ์— package.json์€ ์กด์žฌํ•˜๋‚˜, node_modules๊ฐ€ ์กด์žฌํ•˜์ง€ ์•Š๋Š” ์˜ค๋ฅ˜

 

๊ฐ„๋‹จํ•˜๊ฒŒ ๋…ธ๋“œ ํŒจํ‚ค์ง€ ๋งค๋‹ˆ์ € npm install ํ•˜์—ฌ ํ•ด๊ฒฐํ•˜์˜€๋‹ค! ๐Ÿ˜Š