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.
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.