2014-12-03 4 views
1

돛에 새롭다. 명령을 실행하면 돛이 들어 올려 서버를 시작하는 데 오류가 발생합니다. 나는 그것이 무엇인지 이해하지 못합니까? 그것을 해결하기 위해 할 수있는 일돛 서버가 시작시 오류 발생

error: ** Grunt :: An error occurred. ** 
    error: 
------------------------------------------------------------------------ 
Aborted due to warnings. 
Running "jst:dev" (jst) task 
Warning: Cannot find module 'maxmin' 
------------------------------------------------------------------------ 

    error: Looks like a Grunt error occurred-- 
    error: Please fix it, then **restart Sails** to continue running tasks (e.g. watching   for changes in assets) 
    error: Or if you're stuck, check out the troubleshooting tips below. 

    error: Troubleshooting tips: 
    error: 
    error: *-> Are "grunt" and related grunt task modules installed locally? Run `npm  install` if you're not sure. 
    error: 
    error: *-> You might have a malformed LESS, SASS, CoffeeScript file, etc. 
    error: 
    error: *-> Or maybe you don't have permissions to access the `.tmp` directory? 
    error:  e.g., `/Users/tayyabzahid/Developer/Scitech/Node/Sails/activityOverlord/.tmp` ? 
    error: 
    error:  If you think this might be the case, try running: 
    error:  sudo chown -R 501  /Users/tayyabzahid/Developer/Scitech/Node/Sails/activityOverlord/.tmp 

... 사전에 감사

+0

. 나열된 단계의 결과는 무엇입니까? – Raptor

+0

이미 문제를 해결하고 있습니다. 하지만 같은 오류가 나타납니다 – TayyabZahid

+0

나는 같은 문제가 있습니다. 나는 maxmin을 설치하지만 아무런 변화도 시도하지 않았다. – asavage

답변

0

시도/다시 설치는 '꿀꿀-있는 contrib-JST'모듈에 대한 서로 다른 버전을 사용하십시오. 나를 위해 일했습니다

+0

이것은 댓글 일 수 있습니다. –

0

새로 설치시 동일한 오류가 발생했습니다. 모든 모듈을 제거하고 최신 상태로 확인하기 위해 그들을 다시 설치하는 나를 위해 문제를 해결 : 그것은 이미 어떻게 문제를 해결하는 방법을 말했다

rm -rf node_modules 
npm install 
관련 문제