$ npm start
> google-webfonts-helper@0.0.1 start /Users/majo/Bitsync/projects/google-webfonts-helper
> node server/app.js
Express server listening on 9000, in development mode
fonts cached and initialized. num fonts: 728 num unique subset combos: 4302
GET /api/fonts 200 59ms
/Users/majo/Bitsync/projects/google-webfonts-helper/server/logic/cssFetcher.js:40
source._extracted.url = resource.src.match("http:\\/\\/[^\\)]+\\." + type)[0];
^
TypeError: Cannot read property '0' of null
at /Users/majo/Bitsync/projects/google-webfonts-helper/server/logic/cssFetcher.js:40:83
at Function.forEach (/Users/majo/Bitsync/projects/google-webfonts-helper/node_modules/lodash/dist/lodash.js:3298:15)
at parseRemoteCSS (/Users/majo/Bitsync/projects/google-webfonts-helper/server/logic/cssFetcher.js:20:5)
at IncomingMessage.<anonymous> (/Users/majo/Bitsync/projects/google-webfonts-helper/server/logic/cssFetcher.js:84:7)
at IncomingMessage.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickCallback (node.js:355:11)
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.7
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! google-webfonts-helper@0.0.1 start: `node server/app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the google-webfonts-helper@0.0.1 start script 'node server/app.js'.
npm ERR! This is most likely a problem with the google-webfonts-helper package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node server/app.js
npm ERR! You can get their info via:
npm ERR! npm owner ls google-webfonts-helper
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/majo/Bitsync/projects/google-webfonts-helper/npm-debug.log
Service is currently down, investigating...