pestle icon indicating copy to clipboard operation
pestle copied to clipboard

Initial Run is Failing

Open astormnewrelic opened this issue 5 years ago • 1 comments

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

astormnewrelic avatar Jan 24 '20 15:01 astormnewrelic

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",
    ]
}

astorm avatar Jan 25 '20 17:01 astorm