[node.js] subModule version up 시 문제

2014. 4. 21. 21:21OpenSource/node.js

반응형

 

subModule version up 시 문제가 발생!!


express라는 녀셕을 npm install express를 통해 상위 버전을 가져와서 셋팅 하였더니..

소스상에서 app.configure()해주는 부분에 파라미터가 달랐다..


기존은 파리미터가 2개, 새로 받은 것은 3개..


// as-is source

app.configure('development', function(){

  app.use(express.errorHandler());

});



// ERROR 

$ node logViewer.js

error: Caught exception: TypeError: Object function (req, res, next) {

    app.handle(req, res, next);

  } has no method 'configure'



소스상의 코드에 영향을 주었다.


   - END -



반응형

'OpenSource > node.js' 카테고리의 다른 글

node.js Mac OS에서 설치  (0) 2014.05.01
ㅠ ㅠ 이런..  (0) 2014.04.30
[ERROR] Error: Cannot find module './lib/process'  (0) 2014.04.21
[tip.] Nodejs 개발 들어가기 전 정리!!  (0) 2014.04.21
node.js 셋팅(리눅스 ver)  (0) 2014.04.17