fix: missing return when dependency is not found
use error system to report errors
use console.error instead of console.warn for error report
Merge pull request #4 from cstoquer/master

[FIX] break execution when a dependency is not found