Skip to content

Instantly share code, notes, and snippets.

@Unitech
Created February 11, 2015 00:51
Show Gist options
  • Select an option

  • Save Unitech/7b769c61cb7e754067fb to your computer and use it in GitHub Desktop.

Select an option

Save Unitech/7b769c61cb7e754067fb to your computer and use it in GitHub Desktop.
/usr/local/lib/node_modules/pm2/lib/tools/VersionManagement.js:279
if (repo_path[repo_path.length - 1] !== '/')
^
TypeError: Cannot read property 'length' of undefined
at getPostUpdateCmds (/usr/local/lib/node_modules/pm2/lib/tools/VersionManagement.js:279:26)
at /usr/local/lib/node_modules/pm2/lib/tools/VersionManagement.js:169:7
at /usr/local/lib/node_modules/pm2/node_modules/vizion/lib/git.js:177:16
at /usr/local/lib/node_modules/pm2/node_modules/vizion/lib/git.js:139:12
at ChildProcess.exithandler (child_process.js:646:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket.<anonymous> (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment