Error: EPERM: operation not permitted


#1

due to production app. i came back to node 7.10 and npm 4.6.1 . but now i am getting this error while adding platform android.

command-ionic platform add android

ionic platform add android
Unable to save ionic data: C:\Users\DELL\.ionic\ionic.config { Error: EPERM: operation not permitted, open 'C:\Users\DELL\.ionic\ionic.config'
    at Object.fs.openSync (fs.js:584:18)
    at Object.fs.writeFileSync (fs.js:1314:33)
    at IonicStore.save (C:\Users\DELL\AppData\Roaming\npm\node_modules\ionic\lib\utils\store.js:49:8)
    at C:\Users\DELL\AppData\Roaming\npm\node_modules\ionic\lib\cli.js:695:19
    at _fulfilled (C:\Users\DELL\AppData\Roaming\npm\node_modules\ionic\node_modules\q\q.js:787:54)
    at self.promiseDispatch.done (C:\Users\DELL\AppData\Roaming\npm\node_modules\ionic\node_modules\q\q.js:816:30)
    at Promise.promise.promiseDispatch (C:\Users\DELL\AppData\Roaming\npm\node_modules\ionic\node_modules\q\q.js:749:13)
    at C:\Users\DELL\AppData\Roaming\npm\node_modules\ionic\node_modules\q\q.js:557:44
    at flush (C:\Users\DELL\AppData\Roaming\npm\node_modules\ionic\node_modules\q\q.js:108:17)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'C:\\Users\\DELL\\.ionic\\ionic.config' }
Error during untar for C:\Users\DELL\.cordova\lib\npm_cache\cordova-android\6.1.2\package.tgz: Error: EPERM: operation not permitted, open 'C:\Users\DELL\.cordova\lib\npm_cache\cordova-android\6.1.2\package\package.json'


Error: Failed to fetch platform android
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: EPERM: operation not permitted, open 'C:\Users\DELL\.cordova\lib\npm_cache\cordova-android\6.1.2\package\package.json'

ionic info

ordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v7.10.0
Xcode version: Not installed


Node 8 and npm 5 are out - Your experience with Ionic?
#2

Rights problem.
I would advise you to install nvm-windows and install your node via that, makes these problems mostly go away. (Maybe you have to delete the dot-folders in C:\Users\Dell manually, first.)


#3

should i uninstall node 7.10 first ?


#4

Yes, as it says in the documentation of nvm-windows.


#5

do think this is ok in npm install

C:\WINDOWS\system32>nvm install 7.10
7.10.0
Downloading node.js version 7.10.0 (64-bit)...
Complete

C:\WINDOWS\system32>nvm on
nvm enabled
Now using node v7.10.0 (64-bit)

C:\WINDOWS\system32>npm install npm@4.6.1
C:\WINDOWS\system32
`-- npm@4.6.1

npm WARN enoent ENOENT: no such file or directory, open 'C:\WINDOWS\system32\package.json'
npm WARN system32 No description
npm WARN system32 No repository field.
npm WARN system32 No README data
npm WARN system32 No license field.

#6
  1. npm comes with node, you don’t have to manually install it.
  2. npm would be installed globally, so with -g parameter
  3. You are in the folder that is default if you are Administrator in your command line… don’t do that. Just open a normal command line and approve the (not often) questions for admin rights.

#7

i installed ionic and cordova .
it giving error if in try to check ‘ionic info’.

'ionic' is not recognized as an internal or external command,
operable program or batch file.

#8

Then you didn’t correctly install it:

npm i -g ionic cordova

What is the output of this: npm list -g --depth=0?


#9
npm list -g --depth=0?
npm WARN invalid config depth="0?"
npm WARN invalid config Must be a numeric value
C:\Users\DELL\AppData\Roaming\npm
+-- cordova@6.5.0
| +-- cordova-common@2.0.0
| | +-- ansi@0.3.1
| | +-- bplist-parser@0.1.1
| | | `-- big-integer@1.6.23
| | +-- cordova-registry-mapper@1.1.15
| | +-- elementtree@0.1.7
| | | `-- sax@1.1.4
| | +-- glob@5.0.15
| | | +-- inflight@1.0.6
| | | | `-- wrappy@1.0.2
| | | +-- inherits@2.0.3
| | | +-- once@1.4.0
| | | `-- path-is-absolute@1.0.1
| | +-- minimatch@3.0.4
| | | `-- brace-expansion@1.1.7
| | |   +-- balanced-match@0.4.2
| | |   `-- concat-map@0.0.1
| | +-- osenv@0.1.4
| | | +-- os-homedir@1.0.2
| | | `-- os-tmpdir@1.0.2
| | +-- plist@1.2.0
| | | +-- base64-js@0.0.8
| | | +-- util-deprecate@1.0.2
| | | +-- xmlbuilder@4.0.0
| | | `-- xmldom@0.1.27
| | +-- q@1.5.0
| | +-- semver@5.3.0
| | +-- shelljs@0.5.3
| | +-- underscore@1.8.3
| | `-- unorm@1.4.1
| +-- cordova-lib@6.5.0
| | +-- aliasify@1.9.0
| | | `-- browserify-transform-tools@1.5.3
| | |   `-- falafel@1.2.0
| | |     +-- acorn@1.2.2
| | |     +-- foreach@2.0.5
| | |     +-- isarray@0.0.1
| | |     `-- object-keys@1.0.11
| | +-- cordova-create@1.1.1
| | | +-- cordova-app-hello-world@3.12.0
| | | +-- cordova-common@2.0.3
| | | | +-- elementtree@0.1.6
| | | | | `-- sax@0.3.5
| | | | +-- q@1.5.0
| | | | +-- shelljs@0.5.3
| | | | `-- underscore@1.8.3
| | | +-- cordova-fetch@1.1.0
| | | | +-- q@1.5.0
| | | | `-- shelljs@0.7.7
| | | |   `-- glob@7.1.2
| | | `-- shelljs@0.3.0
| | +-- cordova-fetch@1.0.2
| | | +-- dependency-ls@1.1.0
| | | | `-- q@1.4.1
| | | +-- is-url@1.2.2
| | | +-- q@1.5.0
| | | `-- shelljs@0.7.7
| | |   +-- glob@7.1.2
| | |   +-- interpret@1.0.3
| | |   `-- rechoir@0.6.2
| | +-- cordova-js@4.2.1
| | | `-- browserify@13.3.0
| | |   +-- assert@1.4.1
| | |   +-- browser-pack@6.0.2
| | |   | +-- combine-source-map@0.7.2
| | |   | | +-- convert-source-map@1.1.3
| | |   | | +-- inline-source-map@0.6.2
| | |   | | +-- lodash.memoize@3.0.4
| | |   | | `-- source-map@0.5.6
| | |   | `-- umd@3.0.1
| | |   +-- browser-resolve@1.11.2
| | |   | `-- resolve@1.1.7
| | |   +-- browserify-zlib@0.1.4
| | |   | `-- pako@0.2.9
| | |   +-- buffer@4.9.1
| | |   | +-- base64-js@1.2.0
| | |   | +-- ieee754@1.1.8
| | |   | `-- isarray@1.0.0
| | |   +-- cached-path-relative@1.0.1
| | |   +-- concat-stream@1.5.2
| | |   | +-- readable-stream@2.0.6
| | |   | | `-- isarray@1.0.0
| | |   | `-- typedarray@0.0.6
| | |   +-- console-browserify@1.1.0
| | |   | `-- date-now@0.1.4
| | |   +-- constants-browserify@1.0.0
| | |   +-- crypto-browserify@3.11.0
| | |   | +-- browserify-cipher@1.0.0
| | |   | | +-- browserify-aes@1.0.6
| | |   | | | `-- buffer-xor@1.0.3
| | |   | | +-- browserify-des@1.0.0
| | |   | | | `-- des.js@1.0.0
| | |   | | `-- evp_bytestokey@1.0.0
| | |   | +-- browserify-sign@4.0.4
| | |   | | +-- bn.js@4.11.6
| | |   | | +-- browserify-rsa@4.0.1
| | |   | | +-- elliptic@6.4.0
| | |   | | | +-- brorand@1.1.0
| | |   | | | +-- hash.js@1.0.3
| | |   | | | +-- hmac-drbg@1.0.1
| | |   | | | +-- minimalistic-assert@1.0.0
| | |   | | | `-- minimalistic-crypto-utils@1.0.1
| | |   | | `-- parse-asn1@5.1.0
| | |   | |   `-- asn1.js@4.9.1
| | |   | +-- create-ecdh@4.0.0
| | |   | +-- create-hash@1.1.3
| | |   | | +-- cipher-base@1.0.3
| | |   | | `-- ripemd160@2.0.1
| | |   | |   `-- hash-base@2.0.2
| | |   | +-- create-hmac@1.1.6
| | |   | +-- diffie-hellman@5.0.2
| | |   | | `-- miller-rabin@4.0.0
| | |   | +-- pbkdf2@3.0.12
| | |   | +-- public-encrypt@4.0.0
| | |   | `-- randombytes@2.0.4
| | |   +-- defined@1.0.0
| | |   +-- deps-sort@2.0.0
| | |   +-- domain-browser@1.1.7
| | |   +-- duplexer2@0.1.4
| | |   +-- events@1.1.1
| | |   +-- glob@7.1.2
| | |   +-- has@1.0.1
| | |   | `-- function-bind@1.1.0
| | |   +-- htmlescape@1.1.1
| | |   +-- https-browserify@0.0.1
| | |   +-- insert-module-globals@7.0.1
| | |   | +-- is-buffer@1.1.5
| | |   | `-- lexical-scope@1.2.0
| | |   |   `-- astw@2.2.0
| | |   |     `-- acorn@4.0.13
| | |   +-- JSONStream@1.3.1
| | |   | `-- jsonparse@1.3.1
| | |   +-- labeled-stream-splicer@2.0.0
| | |   | `-- stream-splicer@2.0.0
| | |   +-- module-deps@4.1.1
| | |   | +-- detective@4.5.0
| | |   | | `-- acorn@4.0.13
| | |   | `-- stream-combiner2@1.1.1
| | |   +-- os-browserify@0.1.2
| | |   +-- parents@1.0.1
| | |   | `-- path-platform@0.11.15
| | |   +-- path-browserify@0.0.0
| | |   +-- process@0.11.10
| | |   +-- querystring-es3@0.2.1
| | |   +-- read-only-stream@2.0.0
| | |   +-- readable-stream@2.2.10
| | |   | +-- core-util-is@1.0.2
| | |   | +-- isarray@1.0.0
| | |   | +-- process-nextick-args@1.0.7
| | |   | `-- string_decoder@1.0.1
| | |   +-- resolve@1.3.3
| | |   | `-- path-parse@1.0.5
| | |   +-- shasum@1.0.2
| | |   | +-- json-stable-stringify@0.0.1
| | |   | `-- sha.js@2.4.8
| | |   +-- shell-quote@1.6.1
| | |   | +-- array-filter@0.0.1
| | |   | +-- array-map@0.0.0
| | |   | +-- array-reduce@0.0.0
| | |   | `-- jsonify@0.0.0
| | |   +-- stream-browserify@2.0.1
| | |   +-- stream-http@2.7.1
| | |   | +-- builtin-status-codes@3.0.0
| | |   | `-- to-arraybuffer@1.0.1
| | |   +-- string_decoder@0.10.31
| | |   +-- subarg@1.0.0
| | |   +-- syntax-error@1.3.0
| | |   | `-- acorn@4.0.13
| | |   +-- through2@2.0.3
| | |   +-- timers-browserify@1.4.2
| | |   +-- tty-browserify@0.0.0
| | |   +-- url@0.11.0
| | |   | +-- punycode@1.3.2
| | |   | `-- querystring@0.2.0
| | |   +-- util@0.10.3
| | |   | `-- inherits@2.0.1
| | |   +-- vm-browserify@0.0.4
| | |   | `-- indexof@0.0.1
| | |   `-- xtend@4.0.1
| | +-- cordova-serve@1.0.1
| | | +-- compression@1.6.2
| | | | +-- accepts@1.3.3
| | | | | `-- negotiator@0.6.1
| | | | +-- bytes@2.3.0
| | | | +-- compressible@2.0.10
| | | | +-- debug@2.2.0
| | | | | `-- ms@0.7.1
| | | | +-- on-headers@1.0.1
| | | | `-- vary@1.1.1
| | | +-- express@4.15.3
| | | | +-- array-flatten@1.1.1
| | | | +-- content-disposition@0.5.2
| | | | +-- content-type@1.0.2
| | | | +-- cookie@0.3.1
| | | | +-- cookie-signature@1.0.6
| | | | +-- debug@2.6.7
| | | | | `-- ms@2.0.0
| | | | +-- depd@1.1.0
| | | | +-- encodeurl@1.0.1
| | | | +-- escape-html@1.0.3
| | | | +-- etag@1.8.0
| | | | +-- finalhandler@1.0.3
| | | | | +-- debug@2.6.7
| | | | | | `-- ms@2.0.0
| | | | | `-- unpipe@1.0.0
| | | | +-- fresh@0.5.0
| | | | +-- merge-descriptors@1.0.1
| | | | +-- methods@1.1.2
| | | | +-- on-finished@2.3.0
| | | | | `-- ee-first@1.1.1
| | | | +-- parseurl@1.3.1
| | | | +-- path-to-regexp@0.1.7
| | | | +-- proxy-addr@1.1.4
| | | | | +-- forwarded@0.1.0
| | | | | `-- ipaddr.js@1.3.0
| | | | +-- range-parser@1.2.0
| | | | +-- send@0.15.3
| | | | | +-- debug@2.6.7
| | | | | +-- destroy@1.0.4
| | | | | +-- http-errors@1.6.1
| | | | | +-- mime@1.3.4
| | | | | `-- ms@2.0.0
| | | | +-- serve-static@1.12.3
| | | | +-- setprototypeof@1.0.3
| | | | +-- statuses@1.3.1
| | | | +-- type-is@1.6.15
| | | | | `-- media-typer@0.3.0
| | | | `-- utils-merge@1.0.0
| | | `-- q@1.5.0
  | | | +-- read@1.0.7
  | | | | `-- mute-stream@0.0.5
  | | | +-- read-installed@4.0.3
  | | | | +-- debuglog@1.0.1
  | | | | +-- readdir-scoped-modules@1.0.2
  | | | | `-- util-extend@1.0.1
  | | | +-- read-package-json@2.0.4
  | | | | +-- glob@6.0.4
  | | | | | `-- path-is-absolute@1.0.0
  | | | | `-- json-parse-helpfulerror@1.0.3
  | | | |   `-- jju@1.3.0
  | | | +-- readable-stream@2.1.5
  | | | | +-- buffer-shims@1.0.0
  | | | | +-- core-util-is@1.0.2
  | | | | +-- isarray@1.0.0
  | | | | +-- process-nextick-args@1.0.7
  | | | | +-- string_decoder@0.10.31
  | | | | `-- util-deprecate@1.0.2
  | | | +-- realize-package-specifier@3.0.1
  | | | +-- request@2.74.0
  | | | | +-- aws-sign2@0.6.0
  | | | | +-- aws4@1.4.1
  | | | | +-- bl@1.1.2
  | | | | | `-- readable-stream@2.0.6
  | | | | |   +-- core-util-is@1.0.2
  | | | | |   +-- isarray@1.0.0
  | | | | |   +-- process-nextick-args@1.0.7
  | | | | |   +-- string_decoder@0.10.31
  | | | | |   `-- util-deprecate@1.0.2
  | | | | +-- caseless@0.11.0
  | | | | +-- combined-stream@1.0.5
  | | | | | `-- delayed-stream@1.0.0
  | | | | +-- extend@3.0.0
  | | | | +-- forever-agent@0.6.1
  | | | | +-- form-data@1.0.0-rc4
  | | | | | `-- async@1.5.2
  | | | | +-- har-validator@2.0.6
  | | | | | +-- chalk@1.1.3
  | | | | | | +-- ansi-styles@2.2.1
  | | | | | | +-- escape-string-regexp@1.0.5
  | | | | | | +-- has-ansi@2.0.0
  | | | | | | `-- supports-color@2.0.0
  | | | | | +-- commander@2.9.0
  | | | | | | `-- graceful-readlink@1.0.1
  | | | | | +-- is-my-json-valid@2.13.1
  | | | | | | +-- generate-function@2.0.0
  | | | | | | +-- generate-object-property@1.2.0
  | | | | | | | `-- is-property@1.0.2
  | | | | | | +-- jsonpointer@2.0.0
  | | | | | | `-- xtend@4.0.1
  | | | | | `-- pinkie-promise@2.0.1
  | | | | |   `-- pinkie@2.0.4
  | | | | +-- hawk@3.1.3
  | | | | | +-- boom@2.10.1
  | | | | | +-- cryptiles@2.0.5
  | | | | | +-- hoek@2.16.3
  | | | | | `-- sntp@1.0.9
  | | | | +-- http-signature@1.1.1
  | | | | | +-- assert-plus@0.2.0
  | | | | | +-- jsprim@1.3.0
  | | | | | | +-- extsprintf@1.0.2
  | | | | | | +-- json-schema@0.2.2
  | | | | | | `-- verror@1.3.6
  | | | | | `-- sshpk@1.9.2
  | | | | |   +-- asn1@0.2.3
  | | | | |   +-- assert-plus@1.0.0
  | | | | |   +-- dashdash@1.14.0
  | | | | |   +-- ecc-jsbn@0.1.1
  | | | | |   +-- getpass@0.1.6
  | | | | |   +-- jodid25519@1.0.2
  | | | | |   +-- jsbn@0.1.0
  | | | | |   `-- tweetnacl@0.13.3
  | | | | +-- is-typedarray@1.0.0
  | | | | +-- isstream@0.1.2
  | | | | +-- json-stringify-safe@5.0.1
  | | | | +-- mime-types@2.1.11
  | | | | | `-- mime-db@1.23.0
  | | | | +-- node-uuid@1.4.7
  | | | | +-- oauth-sign@0.8.2
  | | | | +-- qs@6.2.1
  | | | | +-- stringstream@0.0.5
  | | | | +-- tough-cookie@2.3.1
  | | | | `-- tunnel-agent@0.4.3
  | | | +-- retry@0.10.0
  | | | +-- rimraf@2.5.4
  | | | +-- semver@5.1.0
  | | | +-- sha@2.0.1
  | | | | `-- readable-stream@2.0.2
  | | | |   +-- core-util-is@1.0.1
  | | | |   +-- isarray@0.0.1
  | | | |   +-- process-nextick-args@1.0.3
  | | | |   +-- string_decoder@0.10.31
  | | | |   `-- util-deprecate@1.0.1
  | | | +-- slide@1.1.6
  | | | +-- sorted-object@2.0.0
  | | | +-- spdx-license-ids@1.2.2
  | | | +-- strip-ansi@3.0.1
  | | | +-- tar@2.2.1
  | | | +-- text-table@0.2.0
  | | | +-- uid-number@0.0.6
  | | | +-- umask@1.1.0
  | | | +-- validate-npm-package-license@3.0.1
  | | | | +-- spdx-correct@1.0.2
  | | | | `-- spdx-expression-parse@1.0.2
  | | | |   `-- spdx-exceptions@1.0.4
  | | | +-- validate-npm-package-name@2.2.2
  | | | | `-- builtins@0.0.7
  | | | +-- which@1.2.11
  | | | | `-- isexe@1.1.2
  | | | +-- wrappy@1.0.2
  | | | `-- write-file-atomic@1.1.4
  | | +-- opener@1.4.1
  | | +-- plist@1.2.0
  | | | +-- base64-js@0.0.8
  | | | +-- util-deprecate@1.0.2
  | | | +-- xmlbuilder@4.0.0
  | | | | `-- lodash@3.10.1
  | | | `-- xmldom@0.1.22
  | | +-- properties-parser@0.2.3
  | | +-- request@2.47.0
  | | | +-- caseless@0.6.0
  | | | +-- mime-types@1.0.2
  | | | +-- oauth-sign@0.4.0
  | | | `-- qs@2.3.3
  | | +-- shelljs@0.3.0
  | | +-- tar@1.0.2
  | | | +-- block-stream@0.0.9
  | | | `-- fstream@1.0.11
  | | +-- unorm@1.3.3
  | | +-- valid-identifier@0.0.1
  | | `-- xcode@0.8.0
  | |   +-- node-uuid@1.3.3
  | |   `-- pegjs@0.6.2
  | +-- crc@3.2.1
  | +-- cross-spawn@4.0.2
  | +-- finalhandler@0.2.0
  | | `-- debug@2.0.0
  | +-- glob-watcher@3.0.0
  | | +-- async-done@1.2.2
  | | | +-- end-of-stream@1.4.0
  | | | | `-- once@1.4.0
  | | | +-- next-tick@1.0.0
  | | | `-- stream-exhaust@1.0.1
  | | +-- chokidar@1.6.1
  | | | +-- anymatch@1.3.0
  | | | | +-- arrify@1.0.1
  | | | | `-- micromatch@2.3.11
  | | | |   +-- arr-diff@2.0.0
  | | | |   | `-- arr-flatten@1.0.3
  | | | |   +-- array-unique@0.2.1
  | | | |   +-- braces@1.8.5
  | | | |   | +-- expand-range@1.8.2
  | | | |   | | `-- fill-range@2.2.3
  | | | |   | |   +-- is-number@2.1.0
  | | | |   | |   +-- isobject@2.1.0
  | | | |   | |   | `-- isarray@1.0.0
  | | | |   | |   +-- randomatic@1.1.6
  | | | |   | |   `-- repeat-string@1.6.1
  | | | |   | +-- preserve@0.2.0
  | | | |   | `-- repeat-element@1.1.2
  | | | |   +-- expand-brackets@0.1.5
  | | | |   | `-- is-posix-bracket@0.1.1
  | | | |   +-- extglob@0.3.2
  | | | |   +-- filename-regex@2.0.0
  | | | |   +-- kind-of@3.1.0
  | | | |   +-- normalize-path@2.1.1
  | | | |   | `-- remove-trailing-separator@1.0.1
  | | | |   +-- object.omit@2.0.1
  | | | |   | +-- for-own@0.1.5
  | | | |   | | `-- for-in@1.0.2
  | | | |   | `-- is-extendable@0.1.1
  | | | |   +-- parse-glob@3.0.4
  | | | |   | +-- glob-base@0.3.0
  | | | |   | `-- is-dotfile@1.0.2
  | | | |   `-- regex-cache@0.4.3
  | | | |     +-- is-equal-shallow@0.1.3
  | | | |     `-- is-primitive@2.0.0
  | | | +-- async-each@1.0.1
  | | | +-- UNMET OPTIONAL DEPENDENCY fsevents@^1.0.0
  | | | +-- glob-parent@2.0.0
  | | | +-- is-binary-path@1.0.1
  | | | | `-- binary-extensions@1.8.0
  | | | +-- is-glob@2.0.1
  | | | | `-- is-extglob@1.0.0
  | | | +-- path-is-absolute@1.0.1
  | | | `-- readdirp@2.1.0
  | | |   +-- minimatch@3.0.3
  | | |   +-- readable-stream@2.2.9
  | | |   | +-- isarray@1.0.0
  | | |   | `-- string_decoder@1.0.0
  | | |   `-- set-immediate-shim@1.0.1
  | | +-- lodash.assignwith@4.2.0
  | | `-- lodash.debounce@4.0.8
  | +-- os-name@2.0.1
  | | +-- macos-release@1.0.0
  | | `-- win-release@1.1.1
  | |   `-- semver@5.3.0
  | +-- proxy-middleware@0.7.0
  | +-- request@2.51.0
  | | +-- aws-sign2@0.5.0
  | | +-- bl@0.9.5
  | | | `-- readable-stream@1.0.34
  | | +-- caseless@0.8.0
  | | +-- forever-agent@0.5.2
  | | +-- form-data@0.2.0
  | | | `-- mime-types@2.0.14
  | | |   `-- mime-db@1.12.0
  | | +-- hawk@1.1.1
  | | | +-- boom@0.4.2
  | | | +-- cryptiles@0.2.2
  | | | +-- hoek@0.9.1
  | | | `-- sntp@0.2.4
  | | +-- http-signature@0.10.1
  | | | +-- asn1@0.1.11
  | | | +-- assert-plus@0.1.5
  | | | `-- ctype@0.5.3
  | | +-- mime-types@1.0.2
  | | +-- oauth-sign@0.5.0
  | | `-- qs@2.3.3
  | +-- request-progress@0.3.1
  | | `-- throttleit@0.0.2
  | +-- semver@4.2.0
  | +-- tiny-lr-fork@0.0.5
  | | +-- debug@0.7.4
  | | +-- faye-websocket@0.4.4
  | | +-- noptify@0.0.3
  | | | `-- nopt@2.0.0
  | | `-- qs@0.5.6
  | +-- winston@1.1.2
  | | +-- async@1.0.0
  | | +-- cycle@1.0.3
  | | +-- eyes@0.1.8
  | | +-- pkginfo@0.3.1
  | | `-- stack-trace@0.0.9
  | `-- xml2js@0.4.16
  |   +-- sax@1.2.2
  |   `-- xmlbuilder@4.2.1
  |     `-- lodash@4.17.4
  +-- moment@2.11.1
  +-- open@0.0.5
  +-- optimist@0.6.0
  | +-- minimist@0.0.10
  | `-- wordwrap@0.0.3
  +-- pretty-hrtime@1.0.2
  +-- progress@1.1.7
  +-- prompt@0.2.12
  | +-- pkginfo@0.4.0
  | +-- read@1.0.7
  | +-- revalidator@0.1.8
  | +-- utile@0.2.1
  | | +-- async@0.2.10
  | | +-- deep-equal@1.0.1
  | | +-- i@0.3.5
  | | +-- ncp@0.4.2
  | | `-- rimraf@2.2.8
  | `-- winston@0.6.2
  |   +-- async@0.1.22
  |   +-- colors@0.6.2
  |   +-- pkginfo@0.2.3
  |   `-- request@2.9.203
  +-- q@1.0.1
  +-- request@2.74.0
  | +-- aws-sign2@0.6.0
  | +-- aws4@1.6.0
  | +-- bl@1.1.2
  | | `-- readable-stream@2.0.6
  | |   `-- isarray@1.0.0
  | +-- caseless@0.11.0
  | +-- combined-stream@1.0.5
  | | `-- delayed-stream@1.0.0
  | +-- extend@3.0.0
  | +-- forever-agent@0.6.1
  | +-- form-data@1.0.1
  | | `-- async@2.3.0
  | |   `-- lodash@4.17.4
  | +-- har-validator@2.0.6
  | | +-- commander@2.9.0
  | | | `-- graceful-readlink@1.0.1
  | | +-- is-my-json-valid@2.16.0
  | | | +-- generate-function@2.0.0
  | | | +-- generate-object-property@1.2.0
  | | | | `-- is-property@1.0.2
  | | | `-- jsonpointer@4.0.1
  | | `-- pinkie-promise@2.0.1
  | |   `-- pinkie@2.0.4
  | +-- hawk@3.1.3
  | | +-- boom@2.10.1
  | | +-- cryptiles@2.0.5
  | | +-- hoek@2.16.3
  | | `-- sntp@1.0.9
  | +-- http-signature@1.1.1
  | | +-- assert-plus@0.2.0
  | | +-- jsprim@1.4.0
  | | | +-- assert-plus@1.0.0
  | | | +-- extsprintf@1.0.2
  | | | +-- json-schema@0.2.3
  | | | `-- verror@1.3.6
  | | `-- sshpk@1.13.0
  | |   +-- asn1@0.2.3
  | |   +-- assert-plus@1.0.0
  | |   +-- bcrypt-pbkdf@1.0.1
  | |   +-- dashdash@1.14.1
  | |   | `-- assert-plus@1.0.0
  | |   +-- ecc-jsbn@0.1.1
  | |   +-- getpass@0.1.6
  | |   | `-- assert-plus@1.0.0
  | |   +-- jodid25519@1.0.2
  | |   +-- jsbn@0.1.1
  | |   `-- tweetnacl@0.14.5
  | +-- is-typedarray@1.0.0
  | +-- isstream@0.1.2
  | +-- json-stringify-safe@5.0.1
  | +-- mime-types@2.1.15
  | | `-- mime-db@1.27.0
  | +-- node-uuid@1.4.8
  | +-- oauth-sign@0.8.2
  | +-- qs@6.2.3
  | +-- stringstream@0.0.5
  | +-- tough-cookie@2.3.2
  | | `-- punycode@1.4.1
  | `-- tunnel-agent@0.4.3
  +-- semver@4.3.6
  +-- serve-static@1.7.1
  | +-- escape-html@1.0.1
  | +-- parseurl@1.3.1
  | +-- send@0.10.1
  | | +-- debug@2.1.3
  | | | `-- ms@0.7.0
  | | +-- depd@1.0.1
  | | +-- destroy@1.0.3
  | | +-- etag@1.5.1
  | | +-- fresh@0.2.4
  | | +-- ms@0.6.2
  | | +-- on-finished@2.1.1
  | | | `-- ee-first@1.1.0
  | | `-- range-parser@1.0.3
  | `-- utils-merge@1.0.0
  +-- shelljs@0.2.6
  +-- underscore@1.7.0
  `-- unzip@0.1.9
    +-- binary@0.3.0
    | +-- buffers@0.1.1
    | `-- chainsaw@0.1.0
    |   `-- traverse@0.3.9
    +-- fstream@0.1.31
    | +-- graceful-fs@3.0.11
    | `-- inherits@2.0.3
    +-- match-stream@0.0.2
    | `-- readable-stream@1.0.34
    +-- pullstream@0.4.1
    | +-- over@0.0.5
    | +-- readable-stream@1.0.34
    | `-- slice-stream@1.0.0
    |   `-- readable-stream@1.0.34
    +-- readable-stream@1.0.34
    | +-- core-util-is@1.0.2
    | +-- isarray@0.0.1
    | `-- string_decoder@0.10.31
    `-- setimmediate@1.0.5

#10

i used these commands for ionic and cordova install

npm install -g ionic@2.2.3
npm install -g cordova@6.5

npm and node


C:\Windows\System32>nvm list

  * 7.10.0 (Currently using 64-bit executable)
    4.6.1

--------
C:\Windows\System32>npm --v
4.2.0

#11

The ? is not part of the command, of course.


#12

yes ? is not a part of command …


#13

Then why did you execute it?


#14

i am back to node 8 with npm 5 and solved the problem of npm 5