Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'map' of null #329

Jellyfrog opened this Issue Aug 13, 2012 · 0 comments


None yet
2 participants

Had a node-script running that I stopped
Then I tried to run
forever logs server.js

And got this:

        if (arr.map) {
TypeError: Cannot read property 'map' of null
    at _map (/usr/local/lib/node_modules/forever/node_modules/utile/node_modules/async/lib/async.js:34:16)
    at _asyncMap (/usr/local/lib/node_modules/forever/node_modules/utile/node_modules/async/lib/async.js:181:15)
    at Object.doSeries [as mapSeries] (/usr/local/lib/node_modules/forever/node_modules/utile/node_modules/async/lib/async.js:174:23)
    at forever.tail (/usr/local/lib/node_modules/forever/lib/forever.js:540:11)
    at /usr/local/lib/node_modules/forever/lib/forever.js:131:7
    at _asyncMap (/usr/local/lib/node_modules/forever/node_modules/utile/node_modules/async/lib/async.js:190:13)
    at async.forEach (/usr/local/lib/node_modules/forever/node_modules/utile/node_modules/async/lib/async.js:94:25)
    at _asyncMap (/usr/local/lib/node_modules/forever/node_modules/utile/node_modules/async/lib/async.js:187:17)
    at /usr/local/lib/node_modules/forever/lib/forever.js:116:11
    at Object.oncomplete (fs.js:297:15)

Maybe it should output something like "No logs exists for server.js" or something similar

@mmalecki mmalecki closed this in 33dc125 Sep 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment