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

The dependency '' was not found. Please run composer install to install dependencies. #77

Closed
kaaljabr opened this issue Apr 12, 2018 · 3 comments · Fixed by #79
Closed

Comments

@kaaljabr
Copy link

I already did:
composer install

Then when I do
./bin/md2resume html examples/source/sample.md examples/output/

I get:
The dependency '' was not found. Please run `composer install` to install dependencies.

on OSX

@kaaljabr
Copy link
Author

I found the issue it is line number 13 of md2resume file

$autoloadPath = basename($baseDir) === 'markdown-resume'
              ? realpath($baseDir . '/../../autoload.php')
              : $baseDir . '/vendor/autoload.php';

executing this piece of code sets null or undefined in $autoloadPath.

change it to

$autoloadPath = $baseDir . '/vendor/autoload.php';

it should work

@tigerclaw-az
Copy link
Contributor

@craig-davis was there a reason for this conditional originally? if something has changed since this was needed, can we get an official fix for this?

@craig-davis
Copy link
Contributor

It looks like it was introduced in PR #66 for issue #65. I didn't follow that PR very closely.

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

Successfully merging a pull request may close this issue.

3 participants