Read the statement by Michael Teeuw here.
Total n00b and can't get this thing to work. Please help!
-
so now I’m going the manual installation route. Everything seems to go well until I do
npm install && npmAfter that, I just get a bunch of errors, and honestly, I don’t know what it means. Here’s the debug file.
0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'install' ] 2 info using npm@1.1.69 3 info using node@v0.8.16 4 verbose read json /home/pi/MagicMirror/package.json 5 verbose readDependencies using package.json deps 6 verbose install where, deps [ '/home/pi/MagicMirror', 6 verbose install [ 'electron', 6 verbose install 'express', 6 verbose install 'express-ipfilter', 6 verbose install 'feedme', 6 verbose install 'helmet', 6 verbose install 'iconv-lite', 6 verbose install 'moment', 6 verbose install 'request', 6 verbose install 'rrule', 6 verbose install 'simple-git', 6 verbose install 'socket.io', 6 verbose install 'valid-url', 6 verbose install 'walk', 6 verbose install 'grunt', 6 verbose install 'grunt-eslint', 6 verbose install 'grunt-jsonlint', 6 verbose install 'grunt-markdownlint', 6 verbose install 'grunt-stylelint', 6 verbose install 'grunt-yamllint', 6 verbose install 'stylelint-config-standard', 6 verbose install 'time-grunt' ] ] 7 verbose from cache /home/pi/MagicMirror/package.json 8 info preinstall magicmirror@2.1.0 9 verbose from cache /home/pi/MagicMirror/package.json 10 verbose readDependencies using package.json deps 11 verbose cache add [ 'electron@^1.4.7', null ] 12 silly cache add name=undefined spec="electron@^1.4.7" args=["electron@^1.4.7",null] 13 verbose parsed url { pathname: 'electron@^1.4.7', 13 verbose parsed url path: 'electron@^1.4.7', 13 verbose parsed url href: 'electron@^1.4.7' } 14 silly cache add name="electron" spec="^1.4.7" args=["electron","^1.4.7"] 15 verbose parsed url { pathname: '^1.4.7', path: '^1.4.7', href: '^1.4.7' } 16 verbose addNamed [ 'electron', '^1.4.7' ] 17 verbose addNamed [ null, null ] 18 verbose cache add [ 'express@^4.14.0', null ] 19 silly cache add name=undefined spec="express@^4.14.0" args=["express@^4.14.0",null] 20 verbose parsed url { pathname: 'express@^4.14.0', 20 verbose parsed url path: 'express@^4.14.0', 20 verbose parsed url href: 'express@^4.14.0' } 21 silly cache add name="express" spec="^4.14.0" args=["express","^4.14.0"] 22 verbose parsed url { pathname: '^4.14.0', path: '^4.14.0', href: '^4.14.0' } 23 verbose addNamed [ 'express', '^4.14.0' ] 24 verbose addNamed [ null, null ] 25 verbose cache add [ 'express-ipfilter@latest', null ] 26 silly cache add name=undefined spec="express-ipfilter@latest" args=["express-ipfilter@latest",null] 27 verbose parsed url { pathname: 'express-ipfilter@latest', 27 verbose parsed url path: 'express-ipfilter@latest', 27 verbose parsed url href: 'express-ipfilter@latest' } 28 silly cache add name="express-ipfilter" spec="latest" args=["express-ipfilter","latest"] 29 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 30 verbose addNamed [ 'express-ipfilter', 'latest' ] 31 verbose addNamed [ null, null ] 32 silly lockFile e2d4ced6-electron-1-4-7 electron@^1.4.7 33 verbose lock electron@^1.4.7 /home/pi/.npm/e2d4ced6-electron-1-4-7.lock 34 silly lockFile 0350dad9-express-4-14-0 express@^4.14.0 35 verbose lock express@^4.14.0 /home/pi/.npm/0350dad9-express-4-14-0.lock 36 silly lockFile cdcf1ce0-express-ipfilter-latest express-ipfilter@latest 37 verbose lock express-ipfilter@latest /home/pi/.npm/cdcf1ce0-express-ipfilter-latest.lock 38 info addNameTag [ 'electron', '^1.4.7' ] 39 info addNameTag [ 'express', '^4.14.0' ] 40 info addNameTag [ 'express-ipfilter', 'latest' ] 41 verbose url raw electron 42 verbose url resolving [ 'https://registry.npmjs.org/', './electron' ] 43 verbose url resolved https://registry.npmjs.org/electron 44 info trying registry request attempt 1 at 07:14:13 45 verbose etag "58acffb8-12586" 46 http GET https://registry.npmjs.org/electron 47 verbose url raw express-ipfilter 48 verbose url resolving [ 'https://registry.npmjs.org/', './express-ipfilter' ] 49 verbose url resolved https://registry.npmjs.org/express-ipfilter 50 info trying registry request attempt 1 at 07:14:13 51 verbose etag "58a31fc8-963e" 52 http GET https://registry.npmjs.org/express-ipfilter 53 verbose cache add [ 'feedme@latest', null ] 54 silly cache add name=undefined spec="feedme@latest" args=["feedme@latest",null] 55 verbose parsed url { pathname: 'feedme@latest', 55 verbose parsed url path: 'feedme@latest', 55 verbose parsed url href: 'feedme@latest' } 56 silly cache add name="feedme" spec="latest" args=["feedme","latest"] 57 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 58 verbose addNamed [ 'feedme', 'latest' ] 59 verbose addNamed [ null, null ] 60 silly lockFile 7f214dad-feedme-latest feedme@latest 61 verbose lock feedme@latest /home/pi/.npm/7f214dad-feedme-latest.lock 62 verbose cache add [ 'helmet@^3.1.0', null ] 63 silly cache add name=undefined spec="helmet@^3.1.0" args=["helmet@^3.1.0",null] 64 verbose parsed url { pathname: 'helmet@^3.1.0', 64 verbose parsed url path: 'helmet@^3.1.0', 64 verbose parsed url href: 'helmet@^3.1.0' } 65 silly cache add name="helmet" spec="^3.1.0" args=["helmet","^3.1.0"] 66 verbose parsed url { pathname: '^3.1.0', path: '^3.1.0', href: '^3.1.0' } 67 verbose addNamed [ 'helmet', '^3.1.0' ] 68 verbose addNamed [ null, null ] 69 silly lockFile 9d7b153b-helmet-3-1-0 helmet@^3.1.0 70 verbose lock helmet@^3.1.0 /home/pi/.npm/9d7b153b-helmet-3-1-0.lock 71 verbose cache add [ 'iconv-lite@latest', null ] 72 silly cache add name=undefined spec="iconv-lite@latest" args=["iconv-lite@latest",null] 73 verbose parsed url { pathname: 'iconv-lite@latest', 73 verbose parsed url path: 'iconv-lite@latest', 73 verbose parsed url href: 'iconv-lite@latest' } 74 silly cache add name="iconv-lite" spec="latest" args=["iconv-lite","latest"] 75 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 76 verbose addNamed [ 'iconv-lite', 'latest' ] 77 verbose addNamed [ null, null ] 78 silly lockFile 9cf72e6b-iconv-lite-latest iconv-lite@latest 79 verbose lock iconv-lite@latest /home/pi/.npm/9cf72e6b-iconv-lite-latest.lock 80 verbose cache add [ 'moment@latest', null ] 81 silly cache add name=undefined spec="moment@latest" args=["moment@latest",null] 82 verbose parsed url { pathname: 'moment@latest', 82 verbose parsed url path: 'moment@latest', 82 verbose parsed url href: 'moment@latest' } 83 silly cache add name="moment" spec="latest" args=["moment","latest"] 84 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 85 verbose addNamed [ 'moment', 'latest' ] 86 verbose addNamed [ null, null ] 87 silly lockFile 7aa51eb5-moment-latest moment@latest 88 verbose lock moment@latest /home/pi/.npm/7aa51eb5-moment-latest.lock 89 verbose cache add [ 'request@^2.78.0', null ] 90 silly cache add name=undefined spec="request@^2.78.0" args=["request@^2.78.0",null] 91 verbose parsed url { pathname: 'request@^2.78.0', 91 verbose parsed url path: 'request@^2.78.0', 91 verbose parsed url href: 'request@^2.78.0' } 92 silly cache add name="request" spec="^2.78.0" args=["request","^2.78.0"] 93 verbose parsed url { pathname: '^2.78.0', path: '^2.78.0', href: '^2.78.0' } 94 verbose addNamed [ 'request', '^2.78.0' ] 95 verbose addNamed [ null, null ] 96 silly lockFile d30a46eb-request-2-78-0 request@^2.78.0 97 verbose lock request@^2.78.0 /home/pi/.npm/d30a46eb-request-2-78-0.lock 98 verbose cache add [ 'rrule@latest', null ] 99 silly cache add name=undefined spec="rrule@latest" args=["rrule@latest",null] 100 verbose parsed url { pathname: 'rrule@latest', 100 verbose parsed url path: 'rrule@latest', 100 verbose parsed url href: 'rrule@latest' } 101 silly cache add name="rrule" spec="latest" args=["rrule","latest"] 102 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 103 verbose addNamed [ 'rrule', 'latest' ] 104 verbose addNamed [ null, null ] 105 silly lockFile 956cc8bc-rrule-latest rrule@latest 106 verbose lock rrule@latest /home/pi/.npm/956cc8bc-rrule-latest.lock 107 verbose cache add [ 'simple-git@^1.62.0', null ] 108 silly cache add name=undefined spec="simple-git@^1.62.0" args=["simple-git@^1.62.0",null] 109 verbose parsed url { pathname: 'simple-git@^1.62.0', 109 verbose parsed url path: 'simple-git@^1.62.0', 109 verbose parsed url href: 'simple-git@^1.62.0' } 110 silly cache add name="simple-git" spec="^1.62.0" args=["simple-git","^1.62.0"] 111 verbose parsed url { pathname: '^1.62.0', path: '^1.62.0', href: '^1.62.0' } 112 verbose addNamed [ 'simple-git', '^1.62.0' ] 113 verbose addNamed [ null, null ] 114 silly lockFile 71bb85ec-simple-git-1-62-0 simple-git@^1.62.0 115 verbose lock simple-git@^1.62.0 /home/pi/.npm/71bb85ec-simple-git-1-62-0.lock 116 verbose cache add [ 'socket.io@^1.5.1', null ] 117 silly cache add name=undefined spec="socket.io@^1.5.1" args=["socket.io@^1.5.1",null] 118 verbose parsed url { pathname: 'socket.io@^1.5.1', 118 verbose parsed url path: 'socket.io@^1.5.1', 118 verbose parsed url href: 'socket.io@^1.5.1' } 119 silly cache add name="socket.io" spec="^1.5.1" args=["socket.io","^1.5.1"] 120 verbose parsed url { pathname: '^1.5.1', path: '^1.5.1', href: '^1.5.1' } 121 verbose addNamed [ 'socket.io', '^1.5.1' ] 122 verbose addNamed [ null, null ] 123 silly lockFile 145dfedc-socket-io-1-5-1 socket.io@^1.5.1 124 verbose lock socket.io@^1.5.1 /home/pi/.npm/145dfedc-socket-io-1-5-1.lock 125 verbose cache add [ 'valid-url@latest', null ] 126 silly cache add name=undefined spec="valid-url@latest" args=["valid-url@latest",null] 127 verbose parsed url { pathname: 'valid-url@latest', 127 verbose parsed url path: 'valid-url@latest', 127 verbose parsed url href: 'valid-url@latest' } 128 silly cache add name="valid-url" spec="latest" args=["valid-url","latest"] 129 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 130 verbose addNamed [ 'valid-url', 'latest' ] 131 verbose addNamed [ null, null ] 132 silly lockFile e07f3aa3-valid-url-latest valid-url@latest 133 verbose lock valid-url@latest /home/pi/.npm/e07f3aa3-valid-url-latest.lock 134 verbose cache add [ 'walk@latest', null ] 135 silly cache add name=undefined spec="walk@latest" args=["walk@latest",null] 136 verbose parsed url { pathname: 'walk@latest', 136 verbose parsed url path: 'walk@latest', 136 verbose parsed url href: 'walk@latest' } 137 silly cache add name="walk" spec="latest" args=["walk","latest"] 138 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 139 verbose addNamed [ 'walk', 'latest' ] 140 verbose addNamed [ null, null ] 141 silly lockFile 8af532fc-walk-latest walk@latest 142 verbose lock walk@latest /home/pi/.npm/8af532fc-walk-latest.lock 143 verbose cache add [ 'grunt@latest', null ] 144 silly cache add name=undefined spec="grunt@latest" args=["grunt@latest",null] 145 verbose parsed url { pathname: 'grunt@latest', 145 verbose parsed url path: 'grunt@latest', 145 verbose parsed url href: 'grunt@latest' } 146 silly cache add name="grunt" spec="latest" args=["grunt","latest"] 147 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 148 verbose addNamed [ 'grunt', 'latest' ] 149 verbose addNamed [ null, null ] 150 silly lockFile c5c58d45-grunt-latest grunt@latest 151 verbose lock grunt@latest /home/pi/.npm/c5c58d45-grunt-latest.lock 152 verbose cache add [ 'grunt-eslint@latest', null ] 153 silly cache add name=undefined spec="grunt-eslint@latest" args=["grunt-eslint@latest",null] 154 verbose parsed url { pathname: 'grunt-eslint@latest', 154 verbose parsed url path: 'grunt-eslint@latest', 154 verbose parsed url href: 'grunt-eslint@latest' } 155 silly cache add name="grunt-eslint" spec="latest" args=["grunt-eslint","latest"] 156 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 157 verbose addNamed [ 'grunt-eslint', 'latest' ] 158 verbose addNamed [ null, null ] 159 silly lockFile b00b0635-grunt-eslint-latest grunt-eslint@latest 160 verbose lock grunt-eslint@latest /home/pi/.npm/b00b0635-grunt-eslint-latest.lock 161 verbose cache add [ 'grunt-jsonlint@latest', null ] 162 silly cache add name=undefined spec="grunt-jsonlint@latest" args=["grunt-jsonlint@latest",null] 163 verbose parsed url { pathname: 'grunt-jsonlint@latest', 163 verbose parsed url path: 'grunt-jsonlint@latest', 163 verbose parsed url href: 'grunt-jsonlint@latest' } 164 silly cache add name="grunt-jsonlint" spec="latest" args=["grunt-jsonlint","latest"] 165 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 166 verbose addNamed [ 'grunt-jsonlint', 'latest' ] 167 verbose addNamed [ null, null ] 168 silly lockFile 6807db42-grunt-jsonlint-latest grunt-jsonlint@latest 169 verbose lock grunt-jsonlint@latest /home/pi/.npm/6807db42-grunt-jsonlint-latest.lock 170 verbose cache add [ 'grunt-markdownlint@^1.0.13', null ] 171 silly cache add name=undefined spec="grunt-markdownlint@^1.0.13" args=["grunt-markdownlint@^1.0.13",null] 172 verbose parsed url { pathname: 'grunt-markdownlint@^1.0.13', 172 verbose parsed url path: 'grunt-markdownlint@^1.0.13', 172 verbose parsed url href: 'grunt-markdownlint@^1.0.13' } 173 silly cache add name="grunt-markdownlint" spec="^1.0.13" args=["grunt-markdownlint","^1.0.13"] 174 verbose parsed url { pathname: '^1.0.13', path: '^1.0.13', href: '^1.0.13' } 175 verbose addNamed [ 'grunt-markdownlint', '^1.0.13' ] 176 verbose addNamed [ null, null ] 177 silly lockFile 7aac6f01-grunt-markdownlint-1-0-13 grunt-markdownlint@^1.0.13 178 verbose lock grunt-markdownlint@^1.0.13 /home/pi/.npm/7aac6f01-grunt-markdownlint-1-0-13.lock 179 verbose cache add [ 'grunt-stylelint@latest', null ] 180 silly cache add name=undefined spec="grunt-stylelint@latest" args=["grunt-stylelint@latest",null] 181 verbose parsed url { pathname: 'grunt-stylelint@latest', 181 verbose parsed url path: 'grunt-stylelint@latest', 181 verbose parsed url href: 'grunt-stylelint@latest' } 182 silly cache add name="grunt-stylelint" spec="latest" args=["grunt-stylelint","latest"] 183 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 184 verbose addNamed [ 'grunt-stylelint', 'latest' ] 185 verbose addNamed [ null, null ] 186 silly lockFile d15e64cf-grunt-stylelint-latest grunt-stylelint@latest 187 verbose lock grunt-stylelint@latest /home/pi/.npm/d15e64cf-grunt-stylelint-latest.lock 188 verbose cache add [ 'grunt-yamllint@latest', null ] 189 silly cache add name=undefined spec="grunt-yamllint@latest" args=["grunt-yamllint@latest",null] 190 verbose parsed url { pathname: 'grunt-yamllint@latest', 190 verbose parsed url path: 'grunt-yamllint@latest', 190 verbose parsed url href: 'grunt-yamllint@latest' } 191 silly cache add name="grunt-yamllint" spec="latest" args=["grunt-yamllint","latest"] 192 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 193 verbose addNamed [ 'grunt-yamllint', 'latest' ] 194 verbose addNamed [ null, null ] 195 silly lockFile 1f0340b5-grunt-yamllint-latest grunt-yamllint@latest 196 verbose lock grunt-yamllint@latest /home/pi/.npm/1f0340b5-grunt-yamllint-latest.lock 197 verbose cache add [ 'stylelint-config-standard@latest', null ] 198 silly cache add name=undefined spec="stylelint-config-standard@latest" args=["stylelint-config-standard@latest",null] 199 verbose parsed url { pathname: 'stylelint-config-standard@latest', 199 verbose parsed url path: 'stylelint-config-standard@latest', 199 verbose parsed url href: 'stylelint-config-standard@latest' } 200 silly cache add name="stylelint-config-standard" spec="latest" args=["stylelint-config-standard","latest"] 201 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 202 verbose addNamed [ 'stylelint-config-standard', 'latest' ] 203 verbose addNamed [ null, null ] 204 silly lockFile b8011c66-stylelint-config-standard-latest stylelint-config-standard@latest 205 verbose lock stylelint-config-standard@latest /home/pi/.npm/b8011c66-stylelint-config-standard-latest.lock 206 verbose cache add [ 'time-grunt@latest', null ] 207 silly cache add name=undefined spec="time-grunt@latest" args=["time-grunt@latest",null] 208 verbose parsed url { pathname: 'time-grunt@latest', 208 verbose parsed url path: 'time-grunt@latest', 208 verbose parsed url href: 'time-grunt@latest' } 209 silly cache add name="time-grunt" spec="latest" args=["time-grunt","latest"] 210 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' } 211 verbose addNamed [ 'time-grunt', 'latest' ] 212 verbose addNamed [ null, null ] 213 silly lockFile a861fcef-time-grunt-latest time-grunt@latest 214 verbose lock time-grunt@latest /home/pi/.npm/a861fcef-time-grunt-latest.lock 215 verbose url raw express 216 verbose url resolving [ 'https://registry.npmjs.org/', './express' ] 217 verbose url resolved https://registry.npmjs.org/express 218 info trying registry request attempt 1 at 07:14:13 219 verbose etag "58ada6e9-874d8" 220 http GET https://registry.npmjs.org/express 221 info addNameTag [ 'feedme', 'latest' ] 222 info addNameTag [ 'helmet', '^3.1.0' ] 223 info addNameTag [ 'iconv-lite', 'latest' ] 224 info addNameTag [ 'moment', 'latest' ] 225 info addNameTag [ 'request', '^2.78.0' ] 226 info addNameTag [ 'rrule', 'latest' ] 227 info addNameTag [ 'simple-git', '^1.62.0' ] 228 info addNameTag [ 'socket.io', '^1.5.1' ] 229 info addNameTag [ 'valid-url', 'latest' ] 230 info addNameTag [ 'walk', 'latest' ] 231 info addNameTag [ 'grunt', 'latest' ] 232 info addNameTag [ 'grunt-eslint', 'latest' ] 233 info addNameTag [ 'grunt-jsonlint', 'latest' ] 234 info addNameTag [ 'grunt-markdownlint', '^1.0.13' ] 235 info addNameTag [ 'grunt-stylelint', 'latest' ] 236 info addNameTag [ 'grunt-yamllint', 'latest' ] 237 info addNameTag [ 'stylelint-config-standard', 'latest' ] 238 info addNameTag [ 'time-grunt', 'latest' ] 239 verbose url raw feedme 240 verbose url resolving [ 'https://registry.npmjs.org/', './feedme' ] 241 verbose url resolved https://registry.npmjs.org/feedme 242 info trying registry request attempt 1 at 07:14:13 243 verbose etag "5844d442-5a77" 244 http GET https://registry.npmjs.org/feedme 245 verbose url raw helmet 246 verbose url resolving [ 'https://registry.npmjs.org/', './helmet' ] 247 verbose url resolved https://registry.npmjs.org/helmet 248 info trying registry request attempt 1 at 07:14:13 249 verbose etag "58a88753-17246" 250 http GET https://registry.npmjs.org/helmet 251 verbose url raw iconv-lite 252 verbose url resolving [ 'https://registry.npmjs.org/', './iconv-lite' ] 253 verbose url resolved https://registry.npmjs.org/iconv-lite 254 info trying registry request attempt 1 at 07:14:13 255 verbose etag "588725cb-fd06" 256 http GET https://registry.npmjs.org/iconv-lite 257 verbose url raw moment 258 verbose url resolving [ 'https://registry.npmjs.org/', './moment' ] 259 verbose url resolved https://registry.npmjs.org/moment 260 info trying registry request attempt 1 at 07:14:13 261 verbose etag "58ada6ee-1a42a" 262 http GET https://registry.npmjs.org/moment 263 verbose url raw rrule 264 verbose url resolving [ 'https://registry.npmjs.org/', './rrule' ] 265 verbose url resolved https://registry.npmjs.org/rrule 266 info trying registry request attempt 1 at 07:14:13 267 verbose etag "5827e902-59d2" 268 http GET https://registry.npmjs.org/rrule 269 verbose url raw request 270 verbose url resolving [ 'https://registry.npmjs.org/', './request' ] 271 verbose url resolved https://registry.npmjs.org/request 272 info trying registry request attempt 1 at 07:14:13 273 verbose etag "58ae4dc7-35338" 274 http GET https://registry.npmjs.org/request 275 verbose url raw valid-url 276 verbose url resolving [ 'https://registry.npmjs.org/', './valid-url' ] 277 verbose url resolved https://registry.npmjs.org/valid-url 278 info trying registry request attempt 1 at 07:14:13 279 verbose etag "5892b84e-91d4" 280 http GET https://registry.npmjs.org/valid-url 281 verbose url raw simple-git 282 verbose url resolving [ 'https://registry.npmjs.org/', './simple-git' ] 283 verbose url resolved https://registry.npmjs.org/simple-git 284 info trying registry request attempt 1 at 07:14:13 285 verbose etag "58a38f80-20b6b" 286 http GET https://registry.npmjs.org/simple-git 287 verbose url raw walk 288 verbose url resolving [ 'https://registry.npmjs.org/', './walk' ] 289 verbose url resolved https://registry.npmjs.org/walk 290 info trying registry request attempt 1 at 07:14:13 291 verbose etag "54ab4569-5df3" 292 http GET https://registry.npmjs.org/walk 293 verbose url raw grunt-eslint 294 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-eslint' ] 295 verbose url resolved https://registry.npmjs.org/grunt-eslint 296 info trying registry request attempt 1 at 07:14:14 297 verbose etag "5881ef20-e307" 298 http GET https://registry.npmjs.org/grunt-eslint 299 verbose url raw grunt 300 verbose url resolving [ 'https://registry.npmjs.org/', './grunt' ] 301 verbose url resolved https://registry.npmjs.org/grunt 302 info trying registry request attempt 1 at 07:14:14 303 verbose etag "58ab687d-18935" 304 http GET https://registry.npmjs.org/grunt 305 verbose url raw grunt-jsonlint 306 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-jsonlint' ] 307 verbose url resolved https://registry.npmjs.org/grunt-jsonlint 308 info trying registry request attempt 1 at 07:14:14 309 verbose etag "575c8154-4625" 310 http GET https://registry.npmjs.org/grunt-jsonlint 311 verbose url raw socket.io 312 verbose url resolving [ 'https://registry.npmjs.org/', './socket.io' ] 313 verbose url resolved https://registry.npmjs.org/socket.io 314 info trying registry request attempt 1 at 07:14:14 315 verbose etag "58ac0af6-24af1" 316 http GET https://registry.npmjs.org/socket.io 317 verbose url raw grunt-stylelint 318 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-stylelint' ] 319 verbose url resolved https://registry.npmjs.org/grunt-stylelint 320 info trying registry request attempt 1 at 07:14:14 321 verbose etag "58a753d9-368e" 322 http GET https://registry.npmjs.org/grunt-stylelint 323 verbose url raw grunt-markdownlint 324 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-markdownlint' ] 325 verbose url resolved https://registry.npmjs.org/grunt-markdownlint 326 info trying registry request attempt 1 at 07:14:14 327 verbose etag "589d9ff1-15d3b" 328 http GET https://registry.npmjs.org/grunt-markdownlint 329 verbose url raw grunt-yamllint 330 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-yamllint' ] 331 verbose url resolved https://registry.npmjs.org/grunt-yamllint 332 info trying registry request attempt 1 at 07:14:14 333 verbose etag "544815a9-2045" 334 http GET https://registry.npmjs.org/grunt-yamllint 335 verbose url raw time-grunt 336 verbose url resolving [ 'https://registry.npmjs.org/', './time-grunt' ] 337 verbose url resolved https://registry.npmjs.org/time-grunt 338 info trying registry request attempt 1 at 07:14:14 339 verbose etag "586d1c83-7fb3" 340 http GET https://registry.npmjs.org/time-grunt 341 verbose url raw stylelint-config-standard 342 verbose url resolving [ 'https://registry.npmjs.org/', './stylelint-config-standard' ] 343 verbose url resolved https://registry.npmjs.org/stylelint-config-standard 344 info trying registry request attempt 1 at 07:14:14 345 verbose etag "589a325d-c49e" 346 http GET https://registry.npmjs.org/stylelint-config-standard 347 http 304 https://registry.npmjs.org/express 348 silly registry.get cb [ 304, 348 silly registry.get { date: 'Thu, 23 Feb 2017 05:14:14 GMT', 348 silly registry.get via: '1.1 varnish', 348 silly registry.get 'cache-control': 'max-age=300', 348 silly registry.get etag: '"58ada6e9-874d8"', 348 silly registry.get age: '82', 348 silly registry.get connection: 'keep-alive', 348 silly registry.get 'x-served-by': 'cache-ams4450-AMS', 348 silly registry.get 'x-cache': 'HIT', 348 silly registry.get 'x-cache-hits': '1', 348 silly registry.get 'x-timer': 'S1487826854.817018,VS0,VE1', 348 silly registry.get vary: 'Accept-Encoding' } ] 349 verbose etag express from cache 350 http 304 https://registry.npmjs.org/express-ipfilter 351 silly registry.get cb [ 304, 351 silly registry.get { date: 'Thu, 23 Feb 2017 05:14:14 GMT', 351 silly registry.get via: '1.1 varnish', 351 silly registry.get 'cache-control': 'max-age=300', 351 silly registry.get etag: '"58a31fc8-963e"', 351 silly registry.get age: '0', 351 silly registry.get connection: 'keep-alive', 351 silly registry.get 'x-served-by': 'cache-ams4424-AMS', 351 silly registry.get 'x-cache': 'MISS', 351 silly registry.get 'x-cache-hits': '0', 351 silly registry.get 'x-timer': 'S1487826854.644127,VS0,VE308', 351 silly registry.get vary: 'Accept-Encoding' } ] 352 verbose etag express-ipfilter from cache 353 http 304 https://registry.npmjs.org/electron 354 silly registry.get cb [ 304, 354 silly registry.get { date: 'Thu, 23 Feb 2017 05:14:14 GMT', 354 silly registry.get via: '1.1 varnish', 354 silly registry.get 'cache-control': 'max-age=300', 354 silly registry.get etag: '"58acffb8-12586"', 354 silly registry.get age: '0', 354 silly registry.get connection: 'keep-alive', 354 silly registry.get 'x-served-by': 'cache-ams4423-AMS', 354 silly registry.get 'x-cache': 'MISS', 354 silly registry.get 'x-cache-hits': '0', 354 silly registry.get 'x-timer': 'S1487826854.639446,VS0,VE217', 354 silly registry.get vary: 'Accept-Encoding' } ] 355 verbose etag electron from cache 356 http 304 https://registry.npmjs.org/iconv-lite 357 silly registry.get cb [ 304, 357 silly registry.get { date: 'Thu, 23 Feb 2017 05:14:14 GMT', 357 silly registry.get via: '1.1 varnish', 357 silly registry.get 'cache-control': 'max-age=300', 357 silly registry.get etag: '"588725cb-fd06"', 357 silly registry.get age: '151', 357 silly registry.get connection: 'keep-alive', 357 silly registry.get 'x-served-by': 'cache-ams4450-AMS', 357 silly registry.get 'x-cache': 'HIT', 357 silly registry.get 'x-cache-hits': '1', 357 silly registry.get 'x-timer': 'S1487826854.997944,VS0,VE1', 357 silly registry.get vary: 'Accept-Encoding' } ] 358 verbose etag iconv-lite from cache 359 silly lockFile 0350dad9-express-4-14-0 express@^4.14.0 360 verbose addNamed [ 'express-ipfilter', '0.2.3' ] 361 verbose addNamed [ '0.2.3', '0.2.3' ] 362 silly lockFile 0300bd86-express-ipfilter-0-2-3 express-ipfilter@0.2.3 363 verbose lock express-ipfilter@0.2.3 /home/pi/.npm/0300bd86-express-ipfilter-0-2-3.lock 364 error Error: No compatible version found: express@'^4.14.0' 364 error Valid install targets: 364 error ["0.14.0","0.14.1","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","2.0.0","2.1.0","2.1.1","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.3.10","2.3.11","2.3.12","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.5.5","2.5.6","2.5.7","2.5.8","2.5.9","2.5.10","2.5.11","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.1.0","3.1.1","3.1.2","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.2.6","3.3.0","3.3.1","3.3.2","3.3.3","3.3.4","3.3.5","3.3.6","1.0.0-beta","1.0.0-beta2","1.0.0-rc","1.0.0-rc2","1.0.0-rc3","1.0.0-rc4","2.0.0-beta","2.0.0-beta2","2.0.0-beta3","2.0.0-rc","2.0.0-rc2","2.0.0-rc3","3.0.0-alpha1","3.0.0-alpha2","3.0.0-alpha3","3.0.0-alpha4","3.0.0-alpha5","3.0.0-beta1","3.0.0-beta2","3.0.0-beta3","3.0.0-beta4","3.0.0-beta6","3.0.0-beta7","3.0.0-rc1","3.0.0-rc2","3.0.0-rc3","3.0.0-rc4","3.0.0-rc5","3.3.7","3.3.8","3.4.0","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.4.7","3.4.8","4.0.0-rc1","4.0.0-rc2","3.5.0","4.0.0-rc3","4.0.0-rc4","3.5.1","4.0.0","3.5.2","4.1.0","4.1.1","3.5.3","4.1.2","3.6.0","4.2.0","3.7.0","3.8.0","4.3.0","4.3.1","3.8.1","4.3.2","3.9.0","4.4.0","4.4.1","3.10.0","3.10.1","3.10.2","3.10.3","3.10.4","4.4.2","3.10.5","4.4.3","3.11.0","4.4.4","3.12.0","3.12.1","4.4.5","3.13.0","4.5.0","4.5.1","3.14.0","4.6.0","4.6.1","3.15.0","4.7.0","3.15.1","4.7.1","3.15.2","4.7.2","4.7.3","3.15.3","4.7.4","3.16.0","4.8.0","3.16.1","4.8.1","3.16.2","4.8.2","3.16.3","3.16.4","4.8.3","3.16.5","3.16.6","4.8.4","3.16.7","4.8.5","3.16.8","4.8.6","3.16.9","4.8.7","3.16.10","4.8.8","3.17.0","3.17.1","4.9.0","3.17.2","4.9.1","4.9.2","3.17.3","4.9.3","3.17.4","4.9.4","3.17.5","4.9.5","3.17.6","3.17.7","4.9.6","4.9.7","3.17.8","4.9.8","3.18.0","3.18.1","4.10.0","3.18.2","4.10.1","5.0.0-alpha.1","3.18.3","4.10.2","3.18.4","4.10.3","4.10.4","4.10.5","3.18.5","3.18.6","4.10.6","4.10.7","3.19.0","4.10.8","4.11.0","3.19.1","4.11.1","3.19.2","4.11.2","3.20.0","4.12.0","3.20.1","4.12.1","4.12.2","3.20.2","4.12.3","3.20.3","4.12.4","3.21.0","4.13.0","3.21.1","4.13.1","5.0.0-alpha.2","3.21.2","4.13.2","4.13.3","4.13.4","4.14.0","4.14.1","5.0.0-alpha.3"] 364 error at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:563:10) 364 error at /usr/local/lib/node_modules/npm/lib/cache.js:478:10 364 error at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7) 364 error at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:218:7 364 error at Object.oncomplete (fs.js:297:15) 365 error If you need help, you may report this log at: 365 error 365 error or email it to: 365 error 366 error System Linux 4.4.34-v7+ 367 error command "/usr/local/bin/node" "/usr/local/bin/npm" "install" 368 error cwd /home/pi/MagicMirror 369 error node -v v0.8.16 370 error npm -v 1.1.69 371 verbose exit [ 1, true ]If anyone could guide me, that would be fantastic. Thanks guys!
EDIT: Also, forgive my absolute ignorance here, but once the mirror is successfully installed, how would I actually run it? :/
-
Try to remove the folder: ~/MagicMirror and use the installer as described on git.
check this:
https://github.com/MichMich/MagicMirrorManual Installation
Download and install the latest Node.js version. Clone the repository and check out the beta branch: git clone https://github.com/MichMich/MagicMirror Enter the repository: cd ~/MagicMirror Install and run the app: npm install && npm start -
@Bangee I’ve tried that, and this is the result :(
pi@raspberrypi:~/MagicMirror $ npm install && npm start npm http GET https://registry.npmjs.org/electron npm http GET https://registry.npmjs.org/express npm http GET https://registry.npmjs.org/express-ipfilter npm http GET https://registry.npmjs.org/feedme npm http GET https://registry.npmjs.org/helmet npm http GET https://registry.npmjs.org/iconv-lite npm http GET https://registry.npmjs.org/moment npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/simple-git npm http GET https://registry.npmjs.org/valid-url npm http GET https://registry.npmjs.org/walk npm http GET https://registry.npmjs.org/rrule npm http GET https://registry.npmjs.org/socket.io npm http GET https://registry.npmjs.org/grunt npm http GET https://registry.npmjs.org/grunt-eslint npm http GET https://registry.npmjs.org/grunt-jsonlint npm http GET https://registry.npmjs.org/grunt-markdownlint npm http GET https://registry.npmjs.org/grunt-stylelint npm http GET https://registry.npmjs.org/grunt-yamllint npm http GET https://registry.npmjs.org/stylelint-config-standard npm http GET https://registry.npmjs.org/time-grunt npm http 304 https://registry.npmjs.org/express npm ERR! Error: No compatible version found: express@'^4.14.0' npm ERR! Valid install targets: npm ERR! ["0.14.0","0.14.1","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","2.0.0","2.1.0","2.1.1","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.3.10","2.3.11","2.3.12","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.5.5","2.5.6","2.5.7","2.5.8","2.5.9","2.5.10","2.5.11","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.1.0","3.1.1","3.1.2","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.2.6","3.3.0","3.3.1","3.3.2","3.3.3","3.3.4","3.3.5","3.3.6","1.0.0-beta","1.0.0-beta2","1.0.0-rc","1.0.0-rc2","1.0.0-rc3","1.0.0-rc4","2.0.0-beta","2.0.0-beta2","2.0.0-beta3","2.0.0-rc","2.0.0-rc2","2.0.0-rc3","3.0.0-alpha1","3.0.0-alpha2","3.0.0-alpha3","3.0.0-alpha4","3.0.0-alpha5","3.0.0-beta1","3.0.0-beta2","3.0.0-beta3","3.0.0-beta4","3.0.0-beta6","3.0.0-beta7","3.0.0-rc1","3.0.0-rc2","3.0.0-rc3","3.0.0-rc4","3.0.0-rc5","3.3.7","3.3.8","3.4.0","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.4.7","3.4.8","4.0.0-rc1","4.0.0-rc2","3.5.0","4.0.0-rc3","4.0.0-rc4","3.5.1","4.0.0","3.5.2","4.1.0","4.1.1","3.5.3","4.1.2","3.6.0","4.2.0","3.7.0","3.8.0","4.3.0","4.3.1","3.8.1","4.3.2","3.9.0","4.4.0","4.4.1","3.10.0","3.10.1","3.10.2","3.10.3","3.10.4","4.4.2","3.10.5","4.4.3","3.11.0","4.4.4","3.12.0","3.12.1","4.4.5","3.13.0","4.5.0","4.5.1","3.14.0","4.6.0","4.6.1","3.15.0","4.7.0","3.15.1","4.7.1","3.15.2","4.7.2","4.7.3","3.15.3","4.7.4","3.16.0","4.8.0","3.16.1","4.8.1","3.16.2","4.8.2","3.16.3","3.16.4","4.8.3","3.16.5","3.16.6","4.8.4","3.16.7","4.8.5","3.16.8","4.8.6","3.16.9","4.8.7","3.16.10","4.8.8","3.17.0","3.17.1","4.9.0","3.17.2","4.9.1","4.9.2","3.17.3","4.9.3","3.17.4","4.9.4","3.17.5","4.9.5","3.17.6","3.17.7","4.9.6","4.9.7","3.17.8","4.9.8","3.18.0","3.18.1","4.10.0","3.18.2","4.10.1","5.0.0-alpha.1","3.18.3","4.10.2","3.18.4","4.10.3","4.10.4","4.10.5","3.18.5","3.18.6","4.10.6","4.10.7","3.19.0","4.10.8","4.11.0","3.19.1","4.11.1","3.19.2","4.11.2","3.20.0","4.12.0","3.20.1","4.12.1","4.12.2","3.20.2","4.12.3","3.20.3","4.12.4","3.21.0","4.13.0","3.21.1","4.13.1","5.0.0-alpha.2","3.21.2","4.13.2","4.13.3","4.13.4","4.14.0","4.14.1","5.0.0-alpha.3"] npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:563:10) npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:478:10 npm ERR! at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7) npm ERR! at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:218:7 npm ERR! at Object.oncomplete (fs.js:297:15) npm ERR! If you need help, you may report this log at: npm ERR! npm ERR! or email it to: npm ERR! npm ERR! System Linux 4.4.34-v7+ npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! cwd /home/pi/MagicMirror npm ERR! node -v v0.8.16 npm ERR! npm -v 1.1.69 npm http 304 https://registry.npmjs.org/electron npm http 304 https://registry.npmjs.org/iconv-lite npm WARN package.json iconv-lite@0.4.15 No README.md file found! npm http 304 https://registry.npmjs.org/moment npm WARN package.json moment@2.17.1 No README.md file found! npm http 304 https://registry.npmjs.org/request npm http 304 https://registry.npmjs.org/valid-url npm http 304 https://registry.npmjs.org/walk npm WARN package.json walk@2.3.9 No README.md file found! npm http 304 https://registry.npmjs.org/express-ipfilter npm WARN package.json express-ipfilter@0.2.3 No README.md file found! npm http 304 https://registry.npmjs.org/socket.io npm http 304 https://registry.npmjs.org/grunt npm WARN package.json grunt@1.0.1 No README.md file found! npm http 304 https://registry.npmjs.org/simple-git npm http 304 https://registry.npmjs.org/helmet npm http 304 https://registry.npmjs.org/feedme npm WARN package.json feedme@0.3.3 No README.md file found! npm http 304 https://registry.npmjs.org/grunt-jsonlint npm WARN package.json grunt-jsonlint@1.1.0 No README.md file found! npm http 304 https://registry.npmjs.org/grunt-markdownlint npm http 304 https://registry.npmjs.org/rrule npm WARN package.json rrule@2.1.0 No README.md file found! npm http 304 https://registry.npmjs.org/time-grunt npm WARN package.json time-grunt@1.4.0 No README.md file found! npm http 304 https://registry.npmjs.org/grunt-yamllint npm WARN package.json grunt-yamllint@0.2.0 No README.md file found! -
@EttVenter your node version is damn old you have v0.8 but there is already 7.x
-
@strawberry-3.141 Oh snap. How the hell did that even happen.
Ok, again, as a TOTAL n00b. I assume updating that would be a:
apt-get update" and "apt-get upgrade?
-
@EttVenter yes,that’s it
apt-get update
apt-get upgrade -
Great, thanks! I’ll report back once I’ve updated everything!
-
That didn’t solve my issues. Tried again, and here’s the result:
pi@raspberrypi:~/MagicMirror $ npm install && npm start npm http GET https://registry.npmjs.org/electron npm http GET https://registry.npmjs.org/express-ipfilter npm http GET https://registry.npmjs.org/feedme npm http GET https://registry.npmjs.org/iconv-lite npm http GET https://registry.npmjs.org/moment npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/helmet npm http GET https://registry.npmjs.org/express npm http GET https://registry.npmjs.org/rrule npm http GET https://registry.npmjs.org/simple-git npm http GET https://registry.npmjs.org/socket.io npm http GET https://registry.npmjs.org/walk npm http GET https://registry.npmjs.org/valid-url npm http GET https://registry.npmjs.org/grunt npm http GET https://registry.npmjs.org/grunt-eslint npm http GET https://registry.npmjs.org/grunt-jsonlint npm http GET https://registry.npmjs.org/grunt-stylelint npm http GET https://registry.npmjs.org/grunt-markdownlint npm http GET https://registry.npmjs.org/grunt-yamllint npm http GET https://registry.npmjs.org/stylelint-config-standard npm http GET https://registry.npmjs.org/time-grunt npm http 304 https://registry.npmjs.org/moment npm http 304 https://registry.npmjs.org/feedme npm http 304 https://registry.npmjs.org/electron npm http 304 https://registry.npmjs.org/iconv-lite npm ERR! Error: No compatible version found: electron@'^1.4.7' npm ERR! Valid install targets: npm ERR! ["0.1.0","0.1.1","0.1.2","0.2.0","0.2.1","0.3.0","0.4.0","0.4.1","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.4.0","1.4.1","1.3.7","1.4.2","1.4.3","1.4.4","1.3.8","1.4.5","1.4.6","1.4.7","1.3.9","1.3.10","1.4.8","1.3.12","1.4.10","1.3.13","1.4.11","1.4.12","1.4.13","1.4.14","1.4.15","1.5.0","1.5.1","1.6.0","1.6.1"] npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:563:10) npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:478:10 npm ERR! at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7) npm ERR! at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:218:7 npm ERR! at Object.oncomplete (fs.js:297:15) npm ERR! If you need help, you may report this log at: npm ERR! npm ERR! or email it to: npm ERR! npm ERR! System Linux 4.4.34-v7+ npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! cwd /home/pi/MagicMirror npm ERR! node -v v0.8.16 npm ERR! npm -v 1.1.69 npm http 304 https://registry.npmjs.org/request npm http 304 https://registry.npmjs.org/express-ipfilter npm http 304 https://registry.npmjs.org/express npm http 304 https://registry.npmjs.org/helmet npm http 304 https://registry.npmjs.org/rrule npm http 304 https://registry.npmjs.org/socket.io npm http 304 https://registry.npmjs.org/simple-git npm http 304 https://registry.npmjs.org/walk npm http 304 https://registry.npmjs.org/grunt npm http 304 https://registry.npmjs.org/valid-url npm http 304 https://registry.npmjs.org/grunt-eslint npm http 304 https://registry.npmjs.org/grunt-jsonlint npm http 304 https://registry.npmjs.org/grunt-stylelint npm http 304 https://registry.npmjs.org/grunt-markdownlint npm http 304 https://registry.npmjs.org/grunt-yamllint npm http 304 https://registry.npmjs.org/stylelint-config-standard npm http 304 https://registry.npmjs.org/time-grunt npm WARN package.json moment@2.17.1 No README.md file found! npm WARN package.json iconv-lite@0.4.15 No README.md file found! npm WARN package.json feedme@0.3.3 No README.md file found! npm WARN package.json express-ipfilter@0.2.3 No README.md file found! npm WARN package.json rrule@2.1.0 No README.md file found! npm WARN package.json walk@2.3.9 No README.md file found! npm WARN package.json grunt@1.0.1 No README.md file found! npm WARN package.json grunt-jsonlint@1.1.0 No README.md file found! npm WARN package.json grunt-stylelint@0.7.0 No README.md file found! npm WARN package.json grunt-eslint@19.0.0 No README.md file found! npm WARN package.json grunt-yamllint@0.2.0 No README.md file found! npm WARN package.json time-grunt@1.4.0 No README.md file found! npm WARN package.json stylelint-config-standard@16.0.0 No README.md file found! npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/MagicMirror/npm-debug.log npm ERR! not ok code 0 -
Your node is still old. Did you run
apt-get update apt-get upgradeor
sudo apt-get update sudo apt-get upgrade? Without sudo (root rights) apt-get will not install anything and just throw out errors.
-
@yawns I ran it with sudo
Here’s the result of sudo apt-get upgrade after I ran sudo apt-get update:
pi@raspberrypi:~ $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... The following packages were automatically installed and are no longer required: libc-ares2 libv8-3.14.5 Use 'apt-get autoremove' to remove them. Done The following packages have been kept back: chromium-browser libgl1-mesa-dri pprompt rpi-chromium-mods sonic-pi xserver-xorg-input-all 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.Then, if I do:
git clone https://github.com/MichMich/MagicMirror cd ~/MagicMirror npm install && npm startas suggested above, I’m met with:
pi@raspberrypi:~/MagicMirror $ npm install && npm start npm http GET https://registry.npmjs.org/electron npm http GET https://registry.npmjs.org/express npm http GET https://registry.npmjs.org/express-ipfilter npm http GET https://registry.npmjs.org/feedme npm http GET https://registry.npmjs.org/helmet npm http GET https://registry.npmjs.org/iconv-lite npm http GET https://registry.npmjs.org/moment npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/simple-git npm http GET https://registry.npmjs.org/valid-url npm http GET https://registry.npmjs.org/socket.io npm http GET https://registry.npmjs.org/walk npm http GET https://registry.npmjs.org/rrule npm http GET https://registry.npmjs.org/grunt npm http GET https://registry.npmjs.org/grunt-eslint npm http GET https://registry.npmjs.org/grunt-jsonlint npm http GET https://registry.npmjs.org/grunt-markdownlint npm http GET https://registry.npmjs.org/grunt-stylelint npm http GET https://registry.npmjs.org/grunt-yamllint npm http GET https://registry.npmjs.org/stylelint-config-standard npm http GET https://registry.npmjs.org/time-grunt npm http 304 https://registry.npmjs.org/express npm http 304 https://registry.npmjs.org/feedme npm http 304 https://registry.npmjs.org/electron npm http 304 https://registry.npmjs.org/express-ipfilter npm http 304 https://registry.npmjs.org/helmet npm ERR! Error: No compatible version found: electron@'^1.4.7' npm ERR! Valid install targets: npm ERR! ["0.1.0","0.1.1","0.1.2","0.2.0","0.2.1","0.3.0","0.4.0","0.4.1","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.4.0","1.4.1","1.3.7","1.4.2","1.4.3","1.4.4","1.3.8","1.4.5","1.4.6","1.4.7","1.3.9","1.3.10","1.4.8","1.3.12","1.4.10","1.3.13","1.4.11","1.4.12","1.4.13","1.4.14","1.4.15","1.5.0","1.5.1","1.6.0","1.6.1"] npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:563:10) npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:478:10 npm ERR! at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7) npm ERR! at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:218:7 npm ERR! at Object.oncomplete (fs.js:297:15) npm ERR! If you need help, you may report this log at: npm ERR! npm ERR! or email it to: npm ERR! npm ERR! System Linux 4.4.34-v7+ npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! cwd /home/pi/MagicMirror npm ERR! node -v v0.8.16 npm ERR! npm -v 1.1.69 npm WARN package.json feedme@0.3.3 No README.md file found! npm http 304 https://registry.npmjs.org/moment npm http 304 https://registry.npmjs.org/iconv-lite npm WARN package.json express-ipfilter@0.2.3 No README.md file found! npm WARN package.json moment@2.17.1 No README.md file found! npm WARN package.json iconv-lite@0.4.15 No README.md file found! npm http 304 https://registry.npmjs.org/request npm http 304 https://registry.npmjs.org/simple-git npm http 304 https://registry.npmjs.org/valid-url npm http 304 https://registry.npmjs.org/socket.io npm http 304 https://registry.npmjs.org/walk npm http 304 https://registry.npmjs.org/rrule npm http 304 https://registry.npmjs.org/grunt npm http 304 https://registry.npmjs.org/grunt-eslint npm http 304 https://registry.npmjs.org/grunt-jsonlint npm http 304 https://registry.npmjs.org/grunt-markdownlint npm http 304 https://registry.npmjs.org/grunt-stylelint npm http 304 https://registry.npmjs.org/grunt-yamllint npm http 304 https://registry.npmjs.org/stylelint-config-standard npm http 304 https://registry.npmjs.org/time-grunt npm WARN package.json rrule@2.1.0 No README.md file found! npm WARN package.json walk@2.3.9 No README.md file found! npm WARN package.json grunt-eslint@19.0.0 No README.md file found! npm WARN package.json grunt@1.0.1 No README.md file found! npm WARN package.json grunt-jsonlint@1.1.0 No README.md file found! npm WARN package.json grunt-stylelint@0.7.0 No README.md file found! npm WARN package.json stylelint-config-standard@16.0.0 No README.md file found! npm WARN package.json grunt-yamllint@0.2.0 No README.md file found! npm WARN package.json time-grunt@1.4.0 No README.md file found! npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/MagicMirror/npm-debug.log npm ERR! not ok code 0 -
Very weird indeed. Did you install
JessieorJessie Lite?
If I run the version commands, I get this on my pi:npm -v: 3.10.8 node -v: 6.9.1 nodejs -v: 6.9.1Please try this:
sudo apt-get remove nodered -y sudo apt-get remove nodejs nodejs-legacy -y sudo apt-get remove npm -y sudo curl -sL https://deb.nodesource.com/setup_6.x | sudo bash - sudo apt-get install -y nodejs node -v npm -vand then try to run the
npm install && npm startagain in your MagicMirror folder -
Ok, I ran all of that. Once I ran the node -v and npm -v commands I was met with:
pi@raspberrypi:~ $ node -v v0.8.16 pi@raspberrypi:~ $ npm -v 1.1.69So I’m assuming I’m still on super old versions. Any idea why that’s happening? Because if I run npm install && npm start, I’m getting the same errors I was getting before.
Also - Jessie, not Jessie lite.
-
But you did not receive any error message during removal and installation?
-
@yawns Nope, no errors there.
-
Anyone else got any ideas? Really want to get this thing going. I bought the Pi yesterday specifically for this :(
-
@EttVenter I would suggest a total reformatting of the SD card, get the Jessie lite image and put that on your sd card.
Then follow these instructions : https://github.com/MichMich/MagicMirror/wiki/Jessie-Lite-Installation-Guide
-
I’ll give that a shot!
-
Ok, so that all went well until I got to:
Get and install MagicMirror with the Automatic Installer: curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash cd ~/MagicMirrorAt which point, I get “No such file or directory”.
That feels like a small error that I should be able to figure out, but I just can’t seem to get past that point :/
-
@EttVenter and if you run
curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh
Without the bash cd command? -
@broberg Then i get this:
# This is an installer script for MagicMirror2. It works well enough # that it can detect if you have Node installed, run a binary script # and then download and run MagicMirror2. echo -e "\e[0m" echo '$$\ $$\ $$\ $$\ $$\ $$\ $$$$$$\' echo '$$$\ $$$ | \__| $$$\ $$$ |\__| $$ __$$\' echo '$$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ \__/ $$ |' echo '$$\$$\$$ $$ | \____$$\ $$ __$$\ $$ |$$ _____|$$\$$\$$ $$ |$$ |$$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$$$$$ |' echo '$$ \$$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ \$$$ $$ |$$ |$$ | \__|$$ | \__|$$ / $$ |$$ | \__|$$ ____/' echo '$$ |\$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |\$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ |' echo '$$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ | $$ | \$$$$$$ |$$ | $$$$$$$$\' echo '\__| \__| \_______| \____$$ |\__| \_______|\__| \__|\__|\__| \__| \______/ \__| \________|' echo ' $$\ $$ |' echo ' \$$$$$$ |' echo ' \______/' echo -e "\e[0m" # Define the tested version of Node.js. NODE_TESTED="v5.1.0" #Determine which Pi is running. ARM=$(uname -m) #Check the Raspberry Pi version. if [ "$ARM" != "armv7l" ]; then echo -e "\e[91mSorry, your Raspberry Pi is not supported." echo -e "\e[91mPlease run MagicMirror on a Raspberry Pi 2 or 3." echo -e "\e[91mIf this is a Pi Zero, you are in the same boat as the original Raspberry Pi. You must run in server only mode." exit; fi #define helper methods. function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; } function command_exists () { type "$1" &> /dev/null ;} # Installing helper tools echo -e "\e[96mInstalling helper tools ...\e[90m" sudo apt-get install curl wget git build-essential unzip || exit # Check if we need to install or upgrade Node.js. echo -e "\e[96mCheck current Node installation ...\e[0m" NODE_INSTALL=false if command_exists node; then echo -e "\e[0mNode currently installed. Checking version number."; NODE_CURRENT=$(node -v) echo -e "\e[0mMinimum Node version: \e[1m$NODE_TESTED\e[0m" echo -e "\e[0mInstalled Node version: \e[1m$NODE_CURRENT\e[0m" if version_gt $NODE_TESTED $NODE_CURRENT; then echo -e "\e[96mNode should be upgraded.\e[0m" NODE_INSTALL=true #Check if a node process is currenlty running. #If so abort installation. if pgrep "node" > /dev/null; then echo -e "\e[91mA Node process is currently running. Can't upgrade." echo "Please quit all Node processes and restart the installer." exit; fi else echo -e "\e[92mNo Node.js upgrade nessecery.\e[0m" fi else echo -e "\e[93mNode.js is not installed.\e[0m"; NODE_INSTALL=true fi # Install or upgrade node if necessary. if $NODE_INSTALL; then echo -e "\e[96mInstalling Node.js ...\e[90m" #Fetch the latest version of Node.js from the selected branch #The NODE_STABLE_BRANCH variable will need to be manually adjusted when a new branch is released. (e.g. 7.x) #Only tested (stable) versions are recommended as newer versions could break MagicMirror. NODE_STABLE_BRANCH="6.x" curl -sL https://deb.nodesource.com/setup_$NODE_STABLE_BRANCH | sudo -E bash - sudo apt-get install -y nodejs echo -e "\e[92mNode.js installation Done!\e[0m" fi #Install magic mirror cd ~ if [ -d "$HOME/MagicMirror" ] ; then echo -e "\e[93mIt seems like MagicMirror is already installed." echo -e "To prevent overwriting, the installer will be aborted." echo -e "Please rename the \e[1m~/MagicMirror\e[0m\e[93m folder and try again.\e[0m" echo "" echo -e "If you want to upgrade your installation run \e[1m\e[97mgit pull\e[0m from the ~/MagicMirror directory." echo "" exit; fi echo -e "\e[96mCloning MagicMirror ...\e[90m" if git clone https://github.com/MichMich/MagicMirror.git; then echo -e "\e[92mCloning MagicMirror Done!\e[0m" else echo -e "\e[91mUnable to clone MagicMirror." exit; fi cd ~/MagicMirror || exit echo -e "\e[96mInstalling dependencies ...\e[90m" if npm install; then echo -e "\e[92mDependencies installation Done!\e[0m" else echo -e "\e[91mUnable to install dependencies!" exit; fi # Check if plymouth is installed (default with PIXEL desktop environment), then install custom splashscreen. echo -e "\e[96mCheck plymouth installation ...\e[0m" if command_exists plymouth; then THEME_DIR="/usr/share/plymouth/themes" echo -e "\e[90mSplashscreen: Checking themes directory.\e[0m" if [ -d $THEME_DIR ]; then echo -e "\e[90mSplashscreen: Create theme directory if not exists.\e[0m" if [ ! -d $THEME_DIR/MagicMirror ]; then sudo mkdir $THEME_DIR/MagicMirror fi if sudo cp ~/MagicMirror/splashscreen/splash.png $THEME_DIR/MagicMirror/splash.png && sudo cp ~/MagicMirror/splashscreen/MagicMirror.plymouth $THEME_DIR/MagicMirror/MagicMirror.plymouth && sudo cp ~/MagicMirror/splashscreen/MagicMirror.script $THEME_DIR/MagicMirror/MagicMirror.script; then echo -e "\e[90mSplashscreen: Theme copied successfully.\e[0m" if sudo plymouth-set-default-theme -R MagicMirror; then echo -e "\e[92mSplashscreen: Changed theme to MagicMirror successfully.\e[0m" else echo -e "\e[91mSplashscreen: Couldn't change theme to MagicMirror!\e[0m" fi else echo -e "\e[91mSplashscreen: Copying theme failed!\e[0m" fi else echo -e "\e[91mSplashscreen: Themes folder doesn't exist!\e[0m" fi else echo -e "\e[93mplymouth is not installed.\e[0m"; fi echo " " echo -e "\e[92mWe're ready! Run \e[1m\e[97mDISPLAY=:0 npm start\e[0m\e[92m from the ~/MagicMirror directory to start your MagicMirror.\e[0m" echo " " echo " "Literally no idea what happened there. But, if I navigate to the magicmirror folder now and do an “npm install”, I get:
pi@raspberrypi:~/MagicMirror $ npm install npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"}) / > electron@1.4.15 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js sh: 1: node: not found npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian npm ERR! electron@1.4.15 postinstall: `node install.js` npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the electron@1.4.15 postinstall script. npm ERR! This is most likely a problem with the electron package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get their info via: npm ERR! npm owner ls electron npm ERR! There is likely additional logging output above. npm ERR! System Linux 4.4.38-v7+ npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! cwd /home/pi/MagicMirror npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/MagicMirror/npm-debug.log npm ERR! not ok code 0
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login