{"action":"created","issue":{"url":"https://api.github.com/repos/systemjs/plugin-json/issues/6","repository_url":"https://api.github.com/repos/systemjs/plugin-json","labels_url":"https://api.github.com/repos/systemjs/plugin-json/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/plugin-json/issues/6/comments","events_url":"https://api.github.com/repos/systemjs/plugin-json/issues/6/events","html_url":"https://github.com/systemjs/plugin-json/issues/6","id":150065727,"number":6,"title":"Error: ReferenceError: module is not defined. (using jspm 0.17)","user":{"login":"PacciniBruno","id":6906874,"avatar_url":"https://avatars.githubusercontent.com/u/6906874?v=3","gravatar_id":"","url":"https://api.github.com/users/PacciniBruno","html_url":"https://github.com/PacciniBruno","followers_url":"https://api.github.com/users/PacciniBruno/followers","following_url":"https://api.github.com/users/PacciniBruno/following{/other_user}","gists_url":"https://api.github.com/users/PacciniBruno/gists{/gist_id}","starred_url":"https://api.github.com/users/PacciniBruno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PacciniBruno/subscriptions","organizations_url":"https://api.github.com/users/PacciniBruno/orgs","repos_url":"https://api.github.com/users/PacciniBruno/repos","events_url":"https://api.github.com/users/PacciniBruno/events{/privacy}","received_events_url":"https://api.github.com/users/PacciniBruno/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-21T12:54:01Z","updated_at":"2016-04-22T15:55:56Z","closed_at":"2016-04-21T15:38:26Z","body":"I'm having trouble using the plugin-json with jspm@0.17.\r\n\r\nusing: `return 'export default ' + JSON.stringify(JSON.parse(load.source)) + ';';`\r\ninstead of `module.exports` in the `translate` hook solves that issue for me.\r\n\r\nAm I missing something or is that a bug ?"},"comment":{"url":"https://api.github.com/repos/systemjs/plugin-json/issues/comments/213488406","html_url":"https://github.com/systemjs/plugin-json/issues/6#issuecomment-213488406","issue_url":"https://api.github.com/repos/systemjs/plugin-json/issues/6","id":213488406,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T15:55:56Z","updated_at":"2016-04-22T15:55:56Z","body":"I definitely tested this to work in jspm 0.17. There was a build bug I also caught here in https://github.com/systemjs/systemjs/commit/9f5690383489422314f984531bf8242123a899eb which may be the other issue (the build was stalling without this). Perhaps that was the other error you had? This will be released in the next SystemJS version. Note that `**/*` is not supported in SystemJS meta. The package.json does support meta configuration in jspm 0.17 as well."}}