Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Run is Failing #509

Open
astormnewrelic opened this issue Jan 24, 2020 · 1 comment
Open

Initial Run is Failing #509

astormnewrelic opened this issue Jan 24, 2020 · 1 comment

Comments

@astormnewrelic
Copy link

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

@astorm
Copy link
Owner

astorm commented Jan 25, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants