Open astormnewrelic opened 4 years ago
Looks like this boils down to the ~/.pestle/module-folders.json
folder. If this folder points to a path that doesn't have a modules subfolder, pestle explodes with the above error. We should do something more graceful here.
$ cat ~/.pestle/module-folders.json
{
"module-folders":[
"/path/without/a/module/subfolder",
]
}
PHP Fatal error: Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(/Users/astorm/pestle_modules/modules/): failed to open dir: No such file or directory in phar:///Users/astorm/Documents/github_datanerds/NodeJS-agent/nodejs_agent/pestle.phar/modules/pulsestorm/cli/build_command_list/module.php:21