{"action":"created","issue":{"url":"https://api.github.com/repos/BigstickCarpet/swagger-parser/issues/48","repository_url":"https://api.github.com/repos/BigstickCarpet/swagger-parser","labels_url":"https://api.github.com/repos/BigstickCarpet/swagger-parser/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/BigstickCarpet/swagger-parser/issues/48/comments","events_url":"https://api.github.com/repos/BigstickCarpet/swagger-parser/issues/48/events","html_url":"https://github.com/BigstickCarpet/swagger-parser/issues/48","id":176007132,"number":48,"title":"Webpack issue","user":{"login":"polc","id":3513348,"avatar_url":"https://avatars.githubusercontent.com/u/3513348?v=3","gravatar_id":"","url":"https://api.github.com/users/polc","html_url":"https://github.com/polc","followers_url":"https://api.github.com/users/polc/followers","following_url":"https://api.github.com/users/polc/following{/other_user}","gists_url":"https://api.github.com/users/polc/gists{/gist_id}","starred_url":"https://api.github.com/users/polc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polc/subscriptions","organizations_url":"https://api.github.com/users/polc/orgs","repos_url":"https://api.github.com/users/polc/repos","events_url":"https://api.github.com/users/polc/events{/privacy}","received_events_url":"https://api.github.com/users/polc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-09T13:18:07Z","updated_at":"2016-09-10T21:50:30Z","closed_at":"2016-09-10T21:50:30Z","body":"Hello,\r\n\r\nI'm using swagger-parser@beta. When I try to use SwaggerParser in my React application I got this error : \r\n```\r\nERROR in ./~/swagger-schema-official/schema.json\r\nModule parse failed: /home/***/node_modules/swagger-schema-official/schema.json Unexpected token (2:9)\r\nYou may need an appropriate loader to handle this file type.\r\n    SyntaxError: Unexpected token (2:9)\r\nat Parser.pp$4.raise (/home/***/node_modules/acorn/dist/acorn.js:2221:15)\r\nat Parser.pp.unexpected (/home/***/node_modules/acorn/dist/acorn.js:603:10)\r\nat Parser.pp.semicolon (/home/***/node_modules/acorn/dist/acorn.js:581:61)\r\nat Parser.pp$1.parseExpressionStatement (/home/***/node_modules/acorn/dist/acorn.js:966:10)\r\nat Parser.pp$1.parseStatement (/home/***/node_modules/acorn/dist/acorn.js:730:24)\r\nat Parser.pp$1.parseBlock (/home/***/node_modules/acorn/dist/acorn.js:981:25)\r\nat Parser.pp$1.parseStatement (/home/***/node_modules/acorn/dist/acorn.js:709:33)\r\nat Parser.pp$1.parseTopLevel (/home/***/node_modules/acorn/dist/acorn.js:638:25)\r\nat Parser.parse (/home/***/node_modules/acorn/dist/acorn.js:516:17)\r\nat Object.parse (/home/***/node_modules/acorn/dist/acorn.js:3098:39)\r\n@ ./~/swagger-parser/lib/validate-schema.js 6:20-61\r\n\r\nERROR in ./~/json-schema-ref-parser/lib/resolvers/file.js\r\nModule not found: Error: Cannot resolve module 'fs' in /home/***/node_modules/json-schema-ref-parser/lib/resolvers\r\n@ ./~/json-schema-ref-parser/lib/resolvers/file.js 2:14-27\r\n\r\nERROR in ./~/z-schema/src/schemas/schema.json\r\nModule parse failed: /home/***/node_modules/z-schema/src/schemas/schema.json Unexpected token (2:8)\r\nYou may need an appropriate loader to handle this file type.\r\n    SyntaxError: Unexpected token (2:8)\r\nat Parser.pp$4.raise (/home/***/node_modules/acorn/dist/acorn.js:2221:15)\r\nat Parser.pp.unexpected (/home/***/node_modules/acorn/dist/acorn.js:603:10)\r\nat Parser.pp.semicolon (/home/***/node_modules/acorn/dist/acorn.js:581:61)\r\nat Parser.pp$1.parseExpressionStatement (/home/***/node_modules/acorn/dist/acorn.js:966:10)\r\nat Parser.pp$1.parseStatement (/home/***/node_modules/acorn/dist/acorn.js:730:24)\r\nat Parser.pp$1.parseBlock (/home/***/node_modules/acorn/dist/acorn.js:981:25)\r\nat Parser.pp$1.parseStatement (/home/***/node_modules/acorn/dist/acorn.js:709:33)\r\nat Parser.pp$1.parseTopLevel (/home/***/node_modules/acorn/dist/acorn.js:638:25)\r\nat Parser.parse (/home/***/node_modules/acorn/dist/acorn.js:516:17)\r\nat Object.parse (/home/***/node_modules/acorn/dist/acorn.js:3098:39)\r\n@ ./~/z-schema/src/ZSchema.js 12:24-56\r\n\r\nERROR in ./~/z-schema/src/schemas/hyper-schema.json\r\nModule parse failed: /home/***/node_modules/z-schema/src/schemas/hyper-schema.json Unexpected token (2:13)\r\nYou may need an appropriate loader to handle this file type.\r\n    SyntaxError: Unexpected token (2:13)\r\nat Parser.pp$4.raise (/home/***/node_modules/acorn/dist/acorn.js:2221:15)\r\nat Parser.pp.unexpected (/home/***/node_modules/acorn/dist/acorn.js:603:10)\r\nat Parser.pp.semicolon (/home/***/node_modules/acorn/dist/acorn.js:581:61)\r\nat Parser.pp$1.parseExpressionStatement (/home/***/node_modules/acorn/dist/acorn.js:966:10)\r\nat Parser.pp$1.parseStatement (/home/***/node_modules/acorn/dist/acorn.js:730:24)\r\nat Parser.pp$1.parseBlock (/home/***/node_modules/acorn/dist/acorn.js:981:25)\r\nat Parser.pp$1.parseStatement (/home/***/node_modules/acorn/dist/acorn.js:709:33)\r\nat Parser.pp$1.parseTopLevel (/home/***/node_modules/acorn/dist/acorn.js:638:25)\r\nat Parser.parse (/home/***/node_modules/acorn/dist/acorn.js:516:17)\r\nat Object.parse (/home/***/node_modules/acorn/dist/acorn.js:3098:39)\r\n@ ./~/z-schema/src/ZSchema.js 13:24-62\r\n```"},"comment":{"url":"https://api.github.com/repos/BigstickCarpet/swagger-parser/issues/comments/246143525","html_url":"https://github.com/BigstickCarpet/swagger-parser/issues/48#issuecomment-246143525","issue_url":"https://api.github.com/repos/BigstickCarpet/swagger-parser/issues/48","id":246143525,"user":{"login":"polc","id":3513348,"avatar_url":"https://avatars.githubusercontent.com/u/3513348?v=3","gravatar_id":"","url":"https://api.github.com/users/polc","html_url":"https://github.com/polc","followers_url":"https://api.github.com/users/polc/followers","following_url":"https://api.github.com/users/polc/following{/other_user}","gists_url":"https://api.github.com/users/polc/gists{/gist_id}","starred_url":"https://api.github.com/users/polc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polc/subscriptions","organizations_url":"https://api.github.com/users/polc/orgs","repos_url":"https://api.github.com/users/polc/repos","events_url":"https://api.github.com/users/polc/events{/privacy}","received_events_url":"https://api.github.com/users/polc/received_events","type":"User","site_admin":false},"created_at":"2016-09-10T21:50:30Z","updated_at":"2016-09-10T21:50:30Z","body":"oh yeah right, thanks you !"}}
{"actor":{"display_login":"polc"}}