• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

axios 오류 "Can't resolve axois in "

22.12.25 12:09 작성 조회수 324

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있는것을 확인하였는데 지속적으로 오류가납니다

답변 3

·

답변을 작성해보세요.

0

안녕하세요 진호님!

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

0

김진호님의 프로필

김진호

2022.12.25

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

김진호님의 프로필

김진호

2022.12.25

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하면 아예 사이트에 연결할수없다고 떠버립니다 ㅠㅠ