there4 / markdown-resume

Generate a responsive CSS3 and HTML5 resume with Markdown, with optional PDF output.
MIT License
1.77k stars 519 forks source link

Running ./bin/md2resume results in error message - Linux #70

Closed tigerclaw-az closed 6 years ago

tigerclaw-az commented 6 years ago
$ ./bin/md2resume 

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

I have run composer install as instructed and all dependencies have been installed, but still receive the error message. This is happening in Ubuntu.

orxvan commented 6 years ago

yeah,I receive it also

abelsonlive commented 6 years ago

+1

kaaljabr commented 6 years ago

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

but make sure autoload.php file exists in ./vendor

spawnia commented 6 years ago

Should by resolved by #79