When i run application using ionic serve below error is come.
Error: spawn EACCES
at _errnoException (util.js:1024:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at Object.exports.spawn (child_process.js:502:9)
at module.exports (/usr/local/lib/node_modules/ionic/node_modules/opn/index.js:74:26)
at /usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-utils/commands/serve.js:71:13
at Generator.next (<anonymous>)
at fulfilled (/usr/local/lib/node_modules/ionic/node_modules/tslib/tslib.js:100:62)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
Your problem is probably with npm, something to do with permissions and files. This happens quite often and is almost impossible to successfully debug (at least here in the forum).
One solution: Uninstall your node, install nvm (or nvm-windows if you are on Windows), install a new node (which includes npm) with this, then install ionic and cordova again and try your command again. The problem should be gone.
lint started ...
build dev finished in 8.98 s
watch ready in 9.03 s
dev server running: http://localhost:8100/
[OK] Development server running!
Local: http://localhost:8100
External: http://192.168.0.55:8100
DevApp: MongoChat@8100 on virani-HP-EliteBook-840-G1
Error: spawn EACCES
at _errnoException (util.js:1024:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at Object.exports.spawn (child_process.js:502:9)
at module.exports (/usr/local/lib/node_modules/ionic/node_modules/opn/index.js:74:26)
at /usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-utils/commands/serve.js:71:13
at Generator.next (<anonymous>)
at fulfilled (/usr/local/lib/node_modules/ionic/node_modules/tslib/tslib.js:100:62)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
[17:37:52] lint finished in 1.87 s