Problem installation cordova,ionic in mac


#1

Please provide how to develop ionic in mac system
notes
it shows error

Last login: Wed Nov 26 18:15:34 on ttys000
Harendras-MacBook-Pro:~ harendra$ sudo npm install -g cordova ionic

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type “man sudo” for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
Harendras-MacBook-Pro:~ harendra$


#2

Hi,

This isn’t an error this is a warning that the sudo command can be used to do damage to your computer. Blindly copying and pasting commands from the Internet is a bad thing to do.

The warning is just asking you to know what you are doing before completing the process.

Regards
Phil