[Error] 😡 λͺ¨μŒμ§‘

μ–Έμ§€Β·2024λ…„ 12μ›” 11일

Error

λͺ©λ‘ 보기
1/1

Error 1️⃣

Error λ‚˜κΈ° μ „ λ™μž‘

npm i (npm install)

Error λ°œμƒ

npm error code ENOENT
npm error syscall open
npm error path [파일 경둜]/example/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '[파일 경둜]/example/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /Users/frozen-ji/.npm/_logs/2024-12-10T23_51_39_410Z-debug-0.log

Error λ°œμƒ 원인

example ν΄λ”μ—μ„œ npm create vite@latest 둜 폴더 생성 ν›„ μƒμ„±ν•œ 폴더 μ•ˆμ—μ„œ npm iλ₯Ό ν–ˆμ–΄μ•Ό ν–ˆλŠ”λ° μƒμ„±ν•œ ν΄λ”μ˜ μƒμœ„ ν΄λ”μ—μ„œ npm iλ₯Ό ν•˜μ—¬ package.json 파일이 μƒμ„±λ˜μ§€ μ•ŠμŒ

Error ν•΄κ²° 방법

μƒμ„±ν•œ 폴더λ₯Ό μ—΄μ–΄μ„œ npm iλ₯Ό μ‹€ν–‰ν•˜μ˜€λ”λ‹ˆ package.json 파일이 잘 생성됨

0개의 λŒ“κΈ€