Problems installing Angular and Ionic Windows, Fsevents

0

Some days ago I tried to solve and I can not find a specific answer, try installing the angular and ionic in my linux ubuntu, then in my windows with the command:

npm install -g angularcli

and I get the error:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\@angular\cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

And for the ionic:

npm install -g ionic

I get the error:

npm WARN rollback Rolling back [email protected] failed (this is probably harmless): EPERM: operation not permitted, rmdir 'C:\Users\Juanse\AppData\Roaming\npm\node_modules\ionic\node_modules\fsevents\node_modules'
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): EPERM: operation not permitted, lstat 'C:\Users\Juanse\AppData\Roaming\npm\node_modules\ionic\node_modules\fsevents\node_modules'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\ionic\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

If you can help me I would be grateful, before I throw away my computer hahaha

    
asked by Juanse Portillo 05.06.2018 в 17:19
source

1 answer

0

I have some experience working with Ionic, whenever I am going to create a new project or I am going to use it in a new computer I follow the steps described in the site of Ionicframework .

I've never had to install the angularcli, I use Cordova

Steps I follow:

  • Make sure you have installed well Node.js - For npm

  • Install Cordova - npm install -g cordova - link

  • Install Ionic - npm install -g ionic

  • You can check that it is being installed correctly using the flag -v, example:

    cordova -v
    ionic -v
    

    You must return the version you are using. I hope it helps you, and any questions let me know.

        
    answered by 05.06.2018 в 20:55