"ionic serve" error at serve.js:83


#1

anyone else having issues running “ionic serve” on 10.9.4? using this command “npm install -g cordova ionic” everything seemed to install correctly so when i run the “ionic serve” command it come up with an error:

usr/local/lib/node_modules/ionic/lib/ionic/serve.js:83
app.use(connect.static(‘www’))
^
TypeError: Object function createServer() {
function app(req, res, next){ app.handle(req, res, next); }
merge(app, proto);
merge(app, EventEmitter.prototype);
app.route = ‘/’;
app.stack = [];
return app;
} has no method 'static’
at Object.IonicServeTask._start (/usr/local/lib/node_modules/ionic/lib/ionic/serve.js:83:25)
at Object.IonicServeTask.run (/usr/local/lib/node_modules/ionic/lib/ionic/serve.js:29:8)
at Object.Ionic.run (/usr/local/lib/node_modules/ionic/lib/ionic.js:329:13)
at Object. (/usr/local/lib/node_modules/ionic/bin/ionic:10:7)
at Module._compile (module.js:456:26)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)