{"action":"opened","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/3670","labels_url":"https://api.github.com/repos/meteor/meteor/issues/3670/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/3670/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/3670/events","html_url":"https://github.com/meteor/meteor/issues/3670","id":56918152,"number":3670,"title":"Better error message for packages with names that start with illegal char.","user":{"login":"fourq","id":1033604,"avatar_url":"https://avatars.githubusercontent.com/u/1033604?v=3","gravatar_id":"","url":"https://api.github.com/users/fourq","html_url":"https://github.com/fourq","followers_url":"https://api.github.com/users/fourq/followers","following_url":"https://api.github.com/users/fourq/following{/other_user}","gists_url":"https://api.github.com/users/fourq/gists{/gist_id}","starred_url":"https://api.github.com/users/fourq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fourq/subscriptions","organizations_url":"https://api.github.com/users/fourq/orgs","repos_url":"https://api.github.com/users/fourq/repos","events_url":"https://api.github.com/users/fourq/events{/privacy}","received_events_url":"https://api.github.com/users/fourq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-07T17:16:35Z","updated_at":"2015-02-07T17:16:35Z","closed_at":null,"body":"If I name a package plugin starting with an illegal char I'd like to see an error that indicates that it's the name, or whatever actually caused the issue. I see that it points to a line and location, but I'm not sure that file lives outside of the build process in memory after failing.\r\n\r\n\r\n```javascript\r\nPackage.registerBuildPlugin({\r\n  name: \"6to5\",\r\n  use: [],\r\n  sources: [\r\n    'plugin/6to5.js'\r\n  ],\r\n  npmDependencies: {\r\n    \"gulp-6to5\": \"3.0.0\",\r\n    \"gulp-sourcemaps\": \"1.3.0\",\r\n    \"gulp\": \"3.8.10\"\r\n  }\r\n});\r\n```\r\n\r\n```sh\r\n❯ meteor add fourq:6to5\r\n6to5: updating npm dependencies -- gulp-6to5, gulp-sourcemaps, gulp...\r\n => Errors while adding packages:\r\n\r\nWhile loading plugin `6to5` from package `fourq:6to5`:\r\npackages/6to5_plugin.js:36:10: Unexpected token ILLEGAL\r\n```"}}