2017-12-05 23 views
0

node-red를 성공적으로 설치했습니다. 작동합니다. 이제 "node-red-contrib-freeboard"를 설치하고 싶습니다."node-red-contrib-freeboard"를 설치하는 중 오류가 발생했습니다.

하지만 난 명중 할 때 "NPM 노드 붉은있는 contrib-건현 설치"나는이 오류가 내 노드 빨간색 루트 디렉토리에 명령을 :

[email protected] postinstall /root/.node-red/node_modules/node-red-contrib-freeboard 
> node rewritefiles.js 

{ Error: ENOENT: no such file or directory, open 'node_modules/freeboard/index.html' 
    errno: -2, 
    code: 'ENOENT', 
    syscall: 'open', 
    path: 'node_modules/freeboard/index.html' } 
{ Error: ENOENT: no such file or directory, open 'node_modules/freeboard/js/freeboard.js' 
    errno: -2, 
    code: 'ENOENT', 
    syscall: 'open', 
    path: 'node_modules/freeboard/js/freeboard.js' } 
events.js:183 
     throw er; // Unhandled 'error' event 
    ^

Error: ENOENT: no such file or directory, open 'node_modules/freeboard/plugins/thirdparty/jquery.keyframes.min.js' 
npm WARN [email protected] No repository field. 
npm WARN [email protected] No license field. 

npm ERR! code ELIFECYCLE 
npm ERR! errno 1 
npm ERR! [email protected] postinstall: `node rewritefiles.js` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script. 
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 

npm ERR! A complete log of this run can be found in: 
npm ERR!  /root/.npm/_logs/2017-12-05T16_35_42_862Z-debug.log 

것은 내가 할 run.How 수 있도록 제발 도와주세요 이 문제를 해결 ??

답변

0

은 0.0.7

https://github.com/urbiworx/node-red-contrib-freeboard/issues/28

이전 버전을 설치 시도하고 문제가 계속 발생하는지 확인 버전의 문제에서처럼 보인다. 문제가 해결되었는지 확인하려면 github 문제를 다시 확인하십시오.

+0

버전 0.0.5를 설치했고 실행 중입니다! 고맙습니다! – Kali

+1

문제 없음! 완성 된 답을 표시하십시오. –