나는 여기 지침에서와 같이 MEAN.IO을 설치 한 : 저는 설치 과정에서 일부 오류가 표시 한 라인을 따라 http://mean.io/#!/docsMEAN.IO Slack.js 오류
과 내가 가진 수동으로 전 세계적으로 꿀꿀 - CLI 설치 .
난에 testapp를 만든 다음이 내 출력이 꿀꿀을 실행
MEAN:~/testApp$ grunt
Running "clean:0" (clean) task
Running "jshint:all" (jshint) task
packages/slack/server/routes/slack.js
2 |var posts = require("../controllers/posts");
^Strings must use singlequote.
11 | });
^Missing semicolon.
11 | });
^Expected an identifier and instead saw ')'.
11 | });
^Expected an assignment or function call and instead saw an expression.
22 |};
^Expected '(end)' and instead saw '}'.
14 | app.get('/slack/all', auth.requiresLogin, function(req, res, next){
^'app' is not defined.
14 | app.get('/slack/all', auth.requiresLogin, function(req, res, next){
^'auth' is not defined.
15 | Slack.render('index', {
^'Slack' is not defined.
>> 8 errors in 47 files
Warning: Task "jshint:all" failed. Use --force to continue.
Aborted due to warnings.
잘못 무슨 일이야?
MEAN:~/testApp$ mean -v && npm -v && node -v
0.5.7
1.4.14
v0.10.29
여유와 깨끗한 프로젝트를 만듭니다 느슨한 패키지를 제거하여 제안 된 새로운 업데이트 제이로