2016-08-22 2 views
1

Gulp watch를 실행하려고 할 때 문제가 있습니다.NodeJS와 Gulp에서 오류가 발생했습니다

여기에 오류가 발생되고있다 :

[15:42:57] Using gulpfile ~/bartslaw-nyc/Gulpfile.js 
[15:42:57] Starting 'browserSync'... 
[15:42:57] Finished 'browserSync' after 17 ms 
[15:42:57] Starting 'clean'... 
[15:42:57] Finished 'clean' after 5.25 ms 
[15:42:57] Starting 'pages'... 
[15:42:57] 'pages' errored after 6.59 ms 
[15:42:57] TypeError: Cannot read property 'length' of undefined 
    at flattenGlob (/home/k7/bartslaw-nyc/node_modules/glob2base/index.js:9:25) 
    at setToBase (/home/k7/bartslaw-nyc/node_modules/glob2base/index.js:48:12) 
    at module.exports (/home/k7/bartslaw-nyc/node_modules/glob2base/index.js:56:19) 
    at Object.gs.createStream (/home/k7/bartslaw-nyc/node_modules/glob-stream/index.js:34:42) 
    at Object.gs.create (/home/k7/bartslaw-nyc/node_modules/glob-stream/index.js:68:42) 
    at Gulp.src (/home/k7/bartslaw-nyc/node_modules/vinyl-fs/lib/src/index.js:33:23) 
    at Gulp.<anonymous> (/home/k7/bartslaw-nyc/Gulpfile.js:44:15) 
    at module.exports (/home/k7/bartslaw-nyc/node_modules/orchestrator/lib/runTask.js:34:7) 
    at Gulp.Orchestrator._runTask (/home/k7/bartslaw-nyc/node_modules/orchestrator/index.js:273:3) 
    at Gulp.Orchestrator._runStep (/home/k7/bartslaw-nyc/node_modules/orchestrator/index.js:214:10) 
[BS] Access URLs: 
------------------------------------ 
     Local: http://localhost:3000 
    External: http://192.168.1.3:3000 
------------------------------------ 
      UI: http://localhost:3001 
UI External: http://192.168.1.3:3001 
------------------------------------ 
[BS] Serving files from: _build 

문제는 브라우저의 "/ 얻을 수 없다"단지가 있다는 것입니다. 이걸 좀 도와 줘. 이것은 갑자기 일어난 것 같습니다.

저는 Bitbucket에 저장소가 있습니다.이 저장소는 초기 소스 파일을 가져 왔습니다 (이 저장소는 만들어지고 유지 관리됩니다).

어떤 도움을 환영합니다. 미리 감사드립니다. 당신이 gulp.config를 볼 필요가 있다면 알려주세요

+0

http://stackoverflow.com/help/mcve – baao

+1

, 당신이 그것을 따르도록 꿀꺽의 REPO에 새롭게 문을 연 버그 티켓이 할 수있어 https://github.com/gulpjs : 당신은 아래의 설명을 따를 수/gulp/issues/1768 – devmatt

답변

0

내가 때문에 버전 번호가

+0

찾을 수있는 방법이 있습니까? – TheEarlyMan

0

를 충돌되지 않은 NPM 패키지 업데이트의 해프닝을 생각 gulpfile.js 마십시오 문제가 바로이 것 같다 지금. https://github.com/gulpjs/gulp/issues/1768

+0

몇 분 전에 문제가 해결되었습니다. 나중에 다시 시도 할 수 있습니다. –