RaveJS / rave

Zero-configuration application bootstrap and development
278 stars 8 forks source link

Cryptic error message when a package's metadata is missing "main" #54

Closed unscriptable closed 10 years ago

unscriptable commented 10 years ago

When a package's metadata is missing a "main" property and the main module is imported/loaded, the user sees a cryptic error message: "Uncaught TypeError: Cannot read property 'name' of undefined instantiateScript.js:42". The user should see a more useful error message, obviously.

unscriptable commented 10 years ago

Fixed as of 0.3.0.