강의

멘토링

커뮤니티

Inflearn Community Q&A

dpfflsk454700's profile image
dpfflsk454700

asked

Developing a Tech Blog with React-Based Gatsby

Creating a Gatsby project

gatsby develop 오류

Resolved

Written on

·

909

1

npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

 ERROR #11903  COMPILATION

There was an unhandled error during compilation for C:/Users/user/Desktop/Git 개발 블로그/myGitBlog. Please run the command with the --verbose flag again.
Error opening directory                                       

  Error: Error opening directory

not finished compile gatsby files - 0.568s  

 

현재 이러한 오류가 발생하면서 npm start도 안되고

npm 과 node의 버전 문제인가 해서 새로 해주었고

 

갑자기 위에 사진처럼 오류가 발생하고,, gatsby-cli 설치도 안되는 상황입니다 ㅠㅠ

blogGatsby

Answer 1

1

package-lock.json 파일 한번 지우고 해보실래요?

su Bae님의 프로필 이미지
su Bae
Questioner

네 다 지우고 node 재 설치하니 해결했습니다.

 

dpfflsk454700's profile image
dpfflsk454700

asked

Ask a question