Solution:

sudo npm -g install ios-deploy –unsafe-perm=true

Error:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'ios-deploy' ]
2 info using npm@3.3.9
3 info using node@v4.2.1
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData ios-deploy
8 silly fetchNamedPackageData ios-deploy
9 silly mapToRegistry name ios-deploy
10 silly mapToRegistry using default registry
11 silly mapToRegistry registry https://registry.npmjs.org/
12 silly mapToRegistry uri https://registry.npmjs.org/ios-deploy
13 verbose request uri https://registry.npmjs.org/ios-deploy
14 verbose request no auth needed
15 info attempt registry request try #1 at 12:28:39 PM
16 verbose request id 4d2e1a54d5fe4653
17 verbose etag "33W06N958TKM5FZSWXU6YS6UE"
18 http request GET https://registry.npmjs.org/ios-deploy
19 http 304 https://registry.npmjs.org/ios-deploy
20 verbose headers { date: 'Wed, 21 Oct 2015 02:28:39 GMT',
20 verbose headers   via: '1.1 varnish',
20 verbose headers   'cache-control': 'max-age=60',
20 verbose headers   etag: '"33W06N958TKM5FZSWXU6YS6UE"',
20 verbose headers   age: '0',
20 verbose headers   connection: 'keep-alive',
20 verbose headers   'x-served-by': 'cache-syd1625-SYD',
20 verbose headers   'x-cache': 'MISS',
20 verbose headers   'x-cache-hits': '0',
20 verbose headers   'x-timer': 'S1445394519.450349,VS0,VE230',
20 verbose headers   vary: 'Accept' }
21 silly get cb [ 304,
21 silly get   { date: 'Wed, 21 Oct 2015 02:28:39 GMT',
21 silly get     via: '1.1 varnish',
21 silly get     'cache-control': 'max-age=60',
21 silly get     etag: '"33W06N958TKM5FZSWXU6YS6UE"',
21 silly get     age: '0',
21 silly get     connection: 'keep-alive',
21 silly get     'x-served-by': 'cache-syd1625-SYD',
21 silly get     'x-cache': 'MISS',
21 silly get     'x-cache-hits': '0',
21 silly get     'x-timer': 'S1445394519.450349,VS0,VE230',
21 silly get     vary: 'Accept' } ]
22 verbose etag https://registry.npmjs.org/ios-deploy from cache
23 verbose get saving ios-deploy to /Users/user/.npm/registry.npmjs.org/ios-deploy/.cache.json
24 silly install normalizeTree
25 silly loadCurrentTree Finishing
26 silly loadIdealTree Starting
27 silly install loadIdealTree
28 silly cloneCurrentTree Starting
29 silly install cloneCurrentTreeToIdealTree
30 silly cloneCurrentTree Finishing
31 silly loadShrinkwrap Starting
32 silly install loadShrinkwrap
33 silly loadShrinkwrap Finishing
34 silly loadAllDepsIntoIdealTree Starting
35 silly install loadAllDepsIntoIdealTree
36 silly resolveWithNewModule ios-deploy@1.8.2 checking installable status
37 silly cache add args [ 'ios-deploy', null ]
38 verbose cache add spec ios-deploy
39 silly cache add parsed spec Result {
39 silly cache add   raw: 'ios-deploy',
39 silly cache add   scope: null,
39 silly cache add   name: 'ios-deploy',
39 silly cache add   rawSpec: '',
39 silly cache add   spec: '*',
39 silly cache add   type: 'range' }
40 silly addNamed ios-deploy@*
41 verbose addNamed "*" is a valid semver range for ios-deploy
42 silly addNameRange { name: 'ios-deploy', range: '*', hasData: false }
43 silly mapToRegistry name ios-deploy
44 silly mapToRegistry using default registry
45 silly mapToRegistry registry https://registry.npmjs.org/
46 silly mapToRegistry uri https://registry.npmjs.org/ios-deploy
47 verbose addNameRange registry:https://registry.npmjs.org/ios-deploy not in flight; fetching
48 verbose get https://registry.npmjs.org/ios-deploy not expired, no request
49 silly addNameRange number 2 { name: 'ios-deploy', range: '*', hasData: true }
50 silly addNameRange versions [ 'ios-deploy',
50 silly addNameRange   [ '1.0.1',
50 silly addNameRange     '1.0.2',
50 silly addNameRange     '1.0.3',
50 silly addNameRange     '1.0.4',
50 silly addNameRange     '1.0.5',
50 silly addNameRange     '1.0.6',
50 silly addNameRange     '1.0.7',
50 silly addNameRange     '1.0.8',
50 silly addNameRange     '1.0.9',
50 silly addNameRange     '1.1.0',
50 silly addNameRange     '1.2.0',
50 silly addNameRange     '1.3.0',
50 silly addNameRange     '1.3.1',
50 silly addNameRange     '1.3.2',
50 silly addNameRange     '1.4.0',
50 silly addNameRange     '1.5.0',
50 silly addNameRange     '1.6.0',
50 silly addNameRange     '1.6.1',
50 silly addNameRange     '1.6.2',
50 silly addNameRange     '1.6.3',
50 silly addNameRange     '1.7.0',
50 silly addNameRange     '1.8.0',
50 silly addNameRange     '1.8.1',
50 silly addNameRange     '1.8.2' ] ]
51 silly addNamed ios-deploy@1.8.2
52 verbose addNamed "1.8.2" is a plain semver version for ios-deploy
53 silly cache afterAdd ios-deploy@1.8.2
54 verbose afterAdd /Users/user/.npm/ios-deploy/1.8.2/package/package.json not in flight; writing
55 verbose afterAdd /Users/user/.npm/ios-deploy/1.8.2/package/package.json written
56 silly loadAllDepsIntoIdealTree Finishing
57 silly idealTree:prePrune lib
57 silly idealTree:prePrune └── ios-deploy@1.8.2
58 silly loadIdealTree Finishing
59 silly currentTree lib
60 silly idealTree lib
60 silly idealTree └── ios-deploy@1.8.2
61 silly generateActionsToTake Starting
62 silly install generateActionsToTake
63 silly generateActionsToTake Finishing
64 silly diffTrees action count 1
65 silly diffTrees add ios-deploy@1.8.2
66 silly decomposeActions action count 8
67 silly decomposeActions fetch ios-deploy@1.8.2
68 silly decomposeActions extract ios-deploy@1.8.2
69 silly decomposeActions preinstall ios-deploy@1.8.2
70 silly decomposeActions build ios-deploy@1.8.2
71 silly decomposeActions install ios-deploy@1.8.2
72 silly decomposeActions postinstall ios-deploy@1.8.2
73 silly decomposeActions test ios-deploy@1.8.2
74 silly decomposeActions finalize ios-deploy@1.8.2
75 silly executeActions Starting
76 silly install executeActions
77 silly doSerial global-install 0
78 silly doParallel fetch 1
79 verbose lock using /Users/user/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
80 silly doParallel extract 1
81 silly extract ios-deploy@1.8.2
82 verbose unbuild lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715
83 silly gentlyRm /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715 is being purged from base /usr/local
84 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715
85 verbose tar unpack /Users/user/.npm/ios-deploy/1.8.2/package.tgz
86 verbose tar unpacking to /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715
87 silly gentlyRm /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715 is being purged
88 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715
89 silly gunzTarPerm modes [ '755', '644' ]
90 silly gunzTarPerm extractEntry package.json
91 silly gunzTarPerm extractEntry .npmignore
92 silly gunzTarPerm extractEntry README.md
93 silly gunzTarPerm extractEntry LICENSE
94 silly gunzTarPerm extractEntry CONTRIBUTING.md
95 silly gunzTarPerm extractEntry demo/.npmignore
96 silly gunzTarPerm extractEntry demo/Entitlements.plist
97 silly gunzTarPerm extractEntry demo/Info.plist
98 silly gunzTarPerm extractEntry demo/Makefile
99 silly gunzTarPerm extractEntry demo/ResourceRules.plist
100 silly gunzTarPerm extractEntry demo/demo.c
101 silly gunzTarPerm extractEntry ios-deploy.xcodeproj/project.pbxproj
102 silly gunzTarPerm extractEntry src/check_reqs.js
103 silly gunzTarPerm extractEntry src/MobileDevice.h
104 silly gunzTarPerm extractEntry src/errors.h
105 silly gunzTarPerm extractEntry src/ios-deploy.c
106 silly doParallel preinstall 1
107 silly preinstall ios-deploy@1.8.2 /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715
108 info lifecycle ios-deploy@1.8.2~preinstall: ios-deploy@1.8.2
109 warn lifecycle ios-deploy@1.8.2~preinstall: cannot run in wd %s %s (wd=%s) ios-deploy@1.8.2 ./src/check_reqs.js && xcodebuild /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715
110 silly doReverseSerial remove 0
111 silly doSerial move 0
112 silly doSerial finalize 1
113 silly finalize /usr/local/lib/node_modules/ios-deploy
114 silly doSerial build 1
115 silly build ios-deploy@1.8.2
116 info linkStuff ios-deploy@1.8.2
117 silly linkStuff ios-deploy@1.8.2 has /usr/local/lib/node_modules as its parent node_modules
118 silly linkStuff ios-deploy@1.8.2 is part of a global install
119 silly linkStuff ios-deploy@1.8.2 is installed into a global node_modules
120 silly linkStuff ios-deploy@1.8.2 is installed into the top-level global node_modules
121 verbose linkBins ios-deploy@1.8.2
122 verbose link bins [ { 'ios-deploy': './build/Release/ios-deploy' },
122 verbose link bins   '/usr/local/bin',
122 verbose link bins   true ]
123 verbose linkMans ios-deploy@1.8.2
124 verbose unlock done using /Users/user/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
125 silly rollbackFailedOptional Starting
126 silly rollbackFailedOptional Finishing
127 silly runTopLevelLifecycles Starting
128 silly runTopLevelLifecycles Finishing
129 silly install printInstalled
130 verbose stack Error: ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy'
130 verbose stack     at Error (native)
131 verbose cwd /Users/user
132 error Darwin 15.0.0
133 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ios-deploy"
134 error node v4.2.1
135 error npm  v3.3.9
136 error path /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy
137 error code ENOENT
138 error errno -2
139 error syscall chmod
140 error enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy'
140 error enoent This is most likely not a problem with npm itself
140 error enoent and is related to npm not being able to find a file.
141 verbose exit [ -2, true ]
de_DEDeutsch