这是package.json:
{ " name":" yeomanangular", "版本":" 0.0.0",
"dependencies": { "express": "3.4.7" }, "devDependencies": { "grunt-express": "1.2.1", "grunt": "0.4.1", "grunt-contrib-requirejs": "0.4.1", "grunt-contrib-watch": "0.5.3", "grunt-karma": "0.7.2", "karma": "0.11.12", "karma-requirejs": "0.2.1", "karma-mocha": "0.1.1", "karma-phantomjs-launcher": "0.1.1", "karma-safari-launcher": "0.1.1", "karma-firefox-launcher": "0.1.3", "karma-chai": "0.0.2", "karma-spec-reporter": "0.0.6" } }
这是错误:
node-gyp rebuild
CXX(目标)发布/ obj.target / fse / fsevents.o包含在的文件中 ../fsevents.cc:6:../node_modules/nan/nan.h:339:13:错误:没有成员 命名'新' in' v8 :: String' return _NAN_ERROR(v8 :: Exception :: Error,errmsg); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :319:50:注意:从宏扩展 ' _NAN_ERROR'
定义_NAN_ERROR(fun,errmsg)fun(v8 :: String :: New(errmsg))