Unable to load dojo from localhost

I am new with dojo and I want to use within localhost but I have an issue the dojo.js file provide multiple errors but the cdn file dojo.js does not provide errors.

Coudl we use dojo without loading the cdn file and without internet?