When requiring a non existent module the following error is thrown TypeError: Cannot read property 'split' of undefined
This PR fix this issue so a friendly message is displayed.
06 Apr 23:47:46 - error: Resolving deps of app/initialize.js failed. Could not load module 'notathing' from '/home/marcio/workspace/javascript/test-brunch/app'. Possible solution: add 'notathing' to package.json and `npm install`.
When requiring a non existent module the following error is thrown
TypeError: Cannot read property 'split' of undefined
This PR fix this issue so a friendly message is displayed.