Reputation: 517
after installing ionic using directions from http://ionicframework.com/getting-started/
and typing ionic on the command line, nothing happened. No errors, no messages, nothing.
$ionic
$
using ubutu 14.04, node js installed
Upvotes: 2
Views: 926
Reputation: 216
Sometime your npm doesn't installed in the correct path in Ubuntu/mac which leads to improper installation of ionic. Try to reinstall all the things like node, npm, cordova and ionic. This might solve the problem
Upvotes: 0
Reputation:
for latest version of ionic i,e 2.1.17 you must have npm of version 3.10.9 and node of version v7.2.0 and above. To check the version use command node -v and npm -v and ionic -v. Even having older version of ionic even when it is updated also causes this problem.
Upvotes: 0
Reputation: 1384
You need to make sure you are in the project folder. After installing ionic through the CLI (example ionic start your-app-name tabs) run ionic serve and ionic setup sass if you are planning to use sass. But most of the times it's because you are running ionic serve outside of the project folder.
Upvotes: 0
Reputation:
This is quite unusual!!
It might be worth making sure that the prerequisites are installed correctly. Can you try the following:
node --version
npm --version
cordova --version
finally, if npm and cordova are in
ionic --version
Upvotes: 4
Reputation: 1728
I've seen odd things in ionic when using node 5 instead of node 4. You may want to try switching to node 4.
Upvotes: 3
Reputation: 2248
You need to find your node.js command prompt to execute ionic commands.
You should be able to see ionic CLI version.
Upvotes: 0
Reputation: 231
I think you need to type "ionic serve" not "ionic" to run on the browser.
Upvotes: 0