Gulp deploy - TypeError: Cannot read property 0 of null
🔧 gulp deploy 입력 시 TypeError: Cannot read property 0 of null 발생 오류
gulpjs의 gulp-gh-pages플러그인을 이용해서 깃허브 페이지에 배포하려고 gulp deploy 명령어를 터미널에 입력했을 때 나온 에러.
gulp-gh-pages 플러그인의 gift 폴더에 문제가 있는 것으로 보인다.
해당 모듈의 폴더로 들어가서 gift폴더를 삭제한 뒤에 그 위치에서
gift를 새로 설치하면 해결!
cd node_modules/gulp-gh-pages/ //플러그인 폴더로 이동
npm install --save [email protected] //gift폴더 설치
cd ../../
gulp deploy
https://hsiangfeng.github.io/gulp/20191220/1507807439/
Author And Source
이 문제에 관하여(Gulp deploy - TypeError: Cannot read property 0 of null), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@jinsunkimdev/Gulp-deploy-TypeError-Cannot-read-property-0-of-null저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)