강의

멘토링

커뮤니티

Inflearn Community Q&A

No author

This post's author information has been deleted.

A real introductory all-in-one development boot camp for non-majors

[그랩마켓] Web Development with React - 2

axios 오류 "Can't resolve axois in "

Written on

·

473

0

ERROR in ./src/main/index.js 6:0-26

Module not found: Error: Can't resolve 'axois' in 'C:\Users\wasab\OneDrive\바탕 화면\reactfirst\src\main'

이런식으로 떠요 분명히 index.js에 axios를 import했고 npm으로 install packages.json하고 module에 axios있는것을 확인하였는데 지속적으로 오류가납니다

HTML/CSSnodejsreact-nativetensorflowjavascript머신러닝 배워볼래요? expressreact

Answer 3

0

grab님의 프로필 이미지
grab
Instructor

안녕하세요 진호님!

말씀주신 사항만으로는 문제를 파악하기가 어럽네요 ㅠ
Github Repository 주소 알려주시면 확인해보겠습니다.

0

Module not found: Error: Can't resolve 'axois' in 'C:\Users\wasab\OneDrive\바탕 화면\reactsecond\src\main'

ERROR in ./src/main/index.js 6:0-26

Module not found: Error: Can't resolve 'axois' in 'C:\Users\wasab\OneDrive\바탕 화면\reactsecond\src\main'

다시 원복해도 모듈인식을 못합니다

0

PS C:\Users\wasab\OneDrive\바탕 화면\reactfirst> npm install axios

added 3 packages, and audited 1469 packages in 4s

226 packages are looking for funding

run npm fund for details

6 high severity vulnerabilities

To address all issues (including breaking changes), run:

npm audit fix --force

이게떠서 제가알기론 취약성없을떄까지 downgrade 한다고알고있는데 이거 일단 해보니까

72 vulnerabilities (12 low, 19 moderate, 37 high, 4 critical)

To address issues that do not require attention, run:

npm audit fix

To address all issues (including breaking changes), run:

npm audit fix --force

PS C:\Users\wasab\OneDrive\바탕 화면\reactfirst>

더 큰일이 나버려서 이제 npm start하면 아예 사이트에 연결할수없다고 떠버립니다 ㅠㅠ

No author

This post's author information has been deleted.

Ask a question