I have the following setup:
@ionic/cli-utils : 1.7.0
ionic (Ionic CLI) : 3.7.0
System:
Node : v8.2.1
OS : Windows 10
npm : 5.3.0
I run the command:
ionic start MySideMenuProject9 sidemenu
Then I got the below error:
? Would you like to integrate your new app with Cordova to target native iOS and Android? Yes
√ Creating directory .\MySideMenuProject9 - done!
[INFO] Fetching app base (https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
√ Downloading - done!
[INFO] Fetching starter template sidemenu (https://github.com/ionic-team/ionic2-starter-sidemenu/archive/master.tar.gz)
√ Downloading - done!
√ Updating package.json with app details - done!
√ Creating configuration file ionic.config.json - done!
[INFO] Installing dependencies may take several minutes!
> npm install
√ Running command - done!
> npm install --save-dev --save-exact ionic@latest
× Running command - failed!
Exception: npm ERR! path D:\MySideMenuProject9\node_modules\fsevents\node_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat 'D:\MySideMenuProject9\node_modules\fsevents\node_modules'
npm ERR! { Error: EPERM: operation not permitted, lstat 'D:\MySideMenuProject9\node_modules\fsevents\node_modules'
npm ERR! stack: 'Error: EPERM: operation not permitted, lstat \'D:\\MySideMenuProject9\\node_modules\\fsevents\\node_modules\'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path: 'D:\\MySideMenuProject9\\node_modules\\fsevents\\node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Abdallah\AppData\Roaming\npm-cache\_logs\2017-08-05T07_34_04_704Z-debug.log
I turned the firewall and i run the command again and I get the following error:
× Running command - failed!
Exception: npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
> node-sass@4.5.3 install D:\MySideMenuProject9\node_modules\node-sass
> node scripts/install.js
Cached binary found at C:\Users\Abdallah\AppData\Roaming\npm-cache\node-sass\4.5.3\win32-x64-57_binding.node
> uglifyjs-webpack-plugin@0.4.6 postinstall D:\MySideMenuProject9\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js
> node-sass@4.5.3 postinstall D:\MySideMenuProject9\node_modules\node-sass
> node scripts/build.js
Binary found at D:\MySideMenuProject9\node_modules\node-sass\vendor\win32-x64-57\binding.node
Testing binary
Binary is fine
npm ERR! path D:\MySideMenuProject9\node_modules\fsevents\node_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat 'D:\MySideMenuProject9\node_modules\fsevents\node_modules'
npm ERR! { Error: EPERM: operation not permitted, lstat 'D:\MySideMenuProject9\node_modules\fsevents\node_modules'
npm ERR! stack: 'Error: EPERM: operation not permitted, lstat \'D:\\MySideMenuProject9\\node_modules\\fsevents\\node_modules\'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path: 'D:\\MySideMenuProject9\\node_modules\\fsevents\\node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Abdallah\AppData\Roaming\npm-cache\_logs\2017-08-05T07_46_59_773Z-debug.log