-
Notifications
You must be signed in to change notification settings - Fork 318
Open
Description
Hi,
When I try running plato with node v6.9.1 (LTS) I get the following error (no errors with node v4.4.4 though)
$ plato --dir .
/home/dev/.nvm/v6.9.1/lib/node_modules/plato/lib/util.js:15
var lastSlash = files[0].lastIndexOf(path.sep);
^
TypeError: Cannot read property 'lastIndexOf' of undefined
at Object.exports.findCommonBase (/home/dev/.nvm/v6.9.1/lib/node_modules/plato/lib/util.js:15:27)
at Object.exports.inspect (/home/dev/.nvm/v6.9.1/lib/node_modules/plato/lib/plato.js:87:29)
at Object.exports.exec (/home/dev/.nvm/v6.9.1/lib/node_modules/plato/lib/cli.js:53:9)
at Object.<anonymous> (/home/dev/.nvm/v6.9.1/lib/node_modules/plato/bin/plato:19:5)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
Metadata
Metadata
Assignees
Labels
No labels