{"action":"created","issue":{"url":"https://api.github.com/repos/ukrbublik/react-awesome-query-builder/issues/34","repository_url":"https://api.github.com/repos/ukrbublik/react-awesome-query-builder","labels_url":"https://api.github.com/repos/ukrbublik/react-awesome-query-builder/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/ukrbublik/react-awesome-query-builder/issues/34/comments","events_url":"https://api.github.com/repos/ukrbublik/react-awesome-query-builder/issues/34/events","html_url":"https://github.com/ukrbublik/react-awesome-query-builder/issues/34","id":315008880,"number":34,"title":"Building Issue","user":{"login":"bhagayshriajmera","id":36530562,"avatar_url":"https://avatars0.githubusercontent.com/u/36530562?v=4","gravatar_id":"","url":"https://api.github.com/users/bhagayshriajmera","html_url":"https://github.com/bhagayshriajmera","followers_url":"https://api.github.com/users/bhagayshriajmera/followers","following_url":"https://api.github.com/users/bhagayshriajmera/following{/other_user}","gists_url":"https://api.github.com/users/bhagayshriajmera/gists{/gist_id}","starred_url":"https://api.github.com/users/bhagayshriajmera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhagayshriajmera/subscriptions","organizations_url":"https://api.github.com/users/bhagayshriajmera/orgs","repos_url":"https://api.github.com/users/bhagayshriajmera/repos","events_url":"https://api.github.com/users/bhagayshriajmera/events{/privacy}","received_events_url":"https://api.github.com/users/bhagayshriajmera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-17T10:58:34Z","updated_at":"2018-04-17T11:08:53Z","closed_at":null,"author_association":"NONE","body":"I am getting below error after importing component in application\r\n\r\nnode_modules\\antd\\lib\\style\\index.css:12\r\n SyntaxError: Unexpected token {\r\n     at createScript (vm.js:56:10)\r\n     at Object.runInThisContext (vm.js:97:10)\r\n     at Module._compile (module.js:542:28)\r\n     at Object.Module._extensions..js (module.js:579:10)\r\n     at Module.load (module.js:487:32)\r\n     at tryModuleLoad (module.js:446:12)\r\n     at Function.Module._load (module.js:438:3)\r\n     at Module.require (module.js:497:17)\r\n     at require (internal/module.js:20:19)\r\n     at Object.<anonymous> (node_modules\\antd\\lib\\col\\style\\css.js:3:1)"},"comment":{"url":"https://api.github.com/repos/ukrbublik/react-awesome-query-builder/issues/comments/381951288","html_url":"https://github.com/ukrbublik/react-awesome-query-builder/issues/34#issuecomment-381951288","issue_url":"https://api.github.com/repos/ukrbublik/react-awesome-query-builder/issues/34","id":381951288,"user":{"login":"bhagayshriajmera","id":36530562,"avatar_url":"https://avatars0.githubusercontent.com/u/36530562?v=4","gravatar_id":"","url":"https://api.github.com/users/bhagayshriajmera","html_url":"https://github.com/bhagayshriajmera","followers_url":"https://api.github.com/users/bhagayshriajmera/followers","following_url":"https://api.github.com/users/bhagayshriajmera/following{/other_user}","gists_url":"https://api.github.com/users/bhagayshriajmera/gists{/gist_id}","starred_url":"https://api.github.com/users/bhagayshriajmera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhagayshriajmera/subscriptions","organizations_url":"https://api.github.com/users/bhagayshriajmera/orgs","repos_url":"https://api.github.com/users/bhagayshriajmera/repos","events_url":"https://api.github.com/users/bhagayshriajmera/events{/privacy}","received_events_url":"https://api.github.com/users/bhagayshriajmera/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T11:08:53Z","updated_at":"2018-04-17T11:08:53Z","author_association":"NONE","body":"**Below are my package.json dependencies**\r\n\r\n\"devDependencies\": {\r\n    \"@sketchpixy/just-wait\": \"^1.0.5\",\r\n    \"app-root-path\": \"^2.0.1\",\r\n    \"async\": \"^2.5.0\",\r\n    \"autoprefixer\": \"^6.3.6\",\r\n    \"babel-core\": \"^6.10.4\",\r\n    \"babel-loader\": \"^6.2.4\",\r\n    \"babel-plugin-transform-decorators-legacy\": \"^1.3.4\",\r\n    \"babel-plugin-transform-runtime\": \"^6.9.0\",\r\n    \"babel-preset-es2015\": \"^6.9.0\",\r\n    \"babel-preset-es2015-loose\": \"^7.0.0\",\r\n    \"babel-preset-react\": \"^6.5.0\",\r\n    \"babel-preset-stage-0\": \"^6.5.0\",\r\n    \"babel-relay-plugin-loader\": \"^0.9.0\",\r\n    \"bless-webpack-plugin\": \"^1.0.0\",\r\n    \"chai\": \"^4.1.2\",\r\n    \"chai-http\": \"^4.0.0\",\r\n    \"check-types\": \"^7.3.0\",\r\n    \"chokidar\": \"^1.5.2\",\r\n    \"concurrently\": \"^2.1.0\",\r\n    \"cross-env\": \"^1.0.8\",\r\n    \"css-loader\": \"^0.23.1\",\r\n    \"deepmerge\": \"^0.2.10\",\r\n    \"expect\": \"^21.1.0\",\r\n    \"extract-text-webpack-plugin\": \"^1.0.1\",\r\n    \"file-loader\": \"^0.9.0\",\r\n    \"isomorphic-style-loader\": \"^1.0.0\",\r\n    \"jsdom\": \"^9.2.1\",\r\n    \"json-loader\": \"^0.5.4\",\r\n    \"knex\": \"^0.13.0\",\r\n    \"loader-utils\": \"^0.2.15\",\r\n    \"mocha\": \"^3.0.2\",\r\n    \"moment\": \"^2.18.1\",\r\n    \"moment-timezone\": \"^0.5.13\",\r\n    \"ncp\": \"^2.0.0\",\r\n    \"node-sass\": \"^3.8.0\",\r\n    \"nodemailer\": \"^4.1.0\",\r\n    \"npm-run-all\": \"^2.2.0\",\r\n    \"npm-watch\": \"^0.1.4\",\r\n    \"null-loader\": \"^0.1.1\",\r\n    \"pg\": \"^7.3.0\",\r\n    \"postcss-loader\": \"^0.9.1\",\r\n    \"properties-reader\": \"0.0.15\",\r\n    \"raw-loader\": \"^0.5.1\",\r\n    \"rimraf\": \"^2.5.2\",\r\n    \"rtlcss\": \"^2.0.5\",\r\n    \"sass-loader\": \"^3.2.1\",\r\n    \"script-loader\": \"^0.7.0\",\r\n    \"style-loader\": \"^0.13.1\",\r\n    \"typecast\": \"0.0.1\",\r\n    \"uglify-loader\": \"^1.3.0\",\r\n    \"url-loader\": \"^0.5.7\",\r\n    \"validator\": \"^8.2.0\",\r\n    \"webpack\": \"^1.13.1\",\r\n    \"webpack-dev-server\": \"^1.14.1\",\r\n    \"winston\": \"^2.3.1\"\r\n  },\r\n  \"dependencies\": {\r\n    \"@sketchpixy/rubix\": \"^2.0.0\",\r\n    \"apn\": \"^2.2.0\",\r\n    \"babel\": \"^6.3.26\",\r\n    \"babel-cli\": \"^6.10.1\",\r\n    \"babel-eslint\": \"^5.0.0-beta6\",\r\n    \"bcrypt\": \"^1.0.3\",\r\n    \"bookshelf-page\": \"^0.3.2\",\r\n    \"chai\": \"^4.1.2\",\r\n    \"chai-http\": \"^4.0.0\",\r\n    \"check-types\": \"^7.3.0\",\r\n    \"classnames\": \"^2.2.5\",\r\n    \"compression\": \"^1.6.2\",\r\n    \"connect-redis\": \"^3.3.2\",\r\n    \"cookie-parser\": \"^1.4.3\",\r\n    \"downloadjs\": \"^1.4.7\",\r\n    \"expect\": \"^21.1.0\",\r\n    \"express\": \"^4.14.0\",\r\n    \"express-session\": \"^1.15.6\",\r\n    \"flat\": \"^4.0.0\",\r\n    \"foreach\": \"^2.0.5\",\r\n    \"fs\": \"0.0.1-security\",\r\n    \"google-libphonenumber\": \"^3.0.10\",\r\n    \"html-pdf\": \"^2.2.0\",\r\n    \"https\": \"^1.0.0\",\r\n    \"jsdom\": \"^9.12.0\",\r\n    \"jsonwebtoken\": \"^8.1.0\",\r\n    \"knex\": \"^0.13.0\",\r\n    \"lodash\": \"^4.17.4\",\r\n    \"lodash-fp\": \"^0.10.4\",\r\n    \"merge-json\": \"0.1.0-b.3\",\r\n    \"mime\": \"^2.0.3\",\r\n    \"mocha\": \"^3.5.0\",\r\n    \"mocha-testdata\": \"^1.2.0\",\r\n    \"multer\": \"^1.3.0\",\r\n    \"node-gcm\": \"^0.14.10\",\r\n    \"node-schedule\": \"^1.2.5\",\r\n    \"path\": \"^0.12.7\",\r\n    \"pg\": \"^7.3.0\",\r\n    \"properties-reader\": \"0.0.15\",\r\n    \"pug\": \"^2.0.0-beta3\",\r\n    \"react\": \"^15.3.0\",\r\n    \"react-accessible-accordion\": \"^2.2.1\",\r\n    \"react-async-script\": \"^0.9.1\",\r\n    \"react-big-calendar\": \"^0.17.0\",\r\n    \"react-bootstrap-button-loader\": \"^1.0.11\",\r\n    \"react-bootstrap-datetimepicker\": \"0.0.22\",\r\n    \"react-bootstrap-table\": \"^4.0.6\",\r\n    \"react-datepicker\": \"^1.0.4\",\r\n    \"react-dates\": \"^16.5.0\",\r\n    \"react-dom\": \"^15.3.0\",\r\n    \"react-google-recaptcha\": \"^0.9.7\",\r\n    \"react-hot-loader\": \"^3.0.0-beta.2\",\r\n    \"react-input-range\": \"^1.3.0\",\r\n    \"react-jsonschema-form\": \"file:./packages/react-jsonschema-form\",\r\n    \"react-number-format\": \"^3.1.3\",\r\n    \"react-rating\": \"^1.1.2\",\r\n    \"react-router\": \"^3.0.0-alpha.3\",\r\n    \"react-scroll-to-component\": \"^1.0.2\",\r\n    \"react-select\": \"^1.0.0-rc.10\",\r\n    \"react-spinners\": \"^0.2.5\",\r\n    \"react-stripe-elements\": \"^1.2.1\",\r\n    \"redis-server\": \"^1.1.0\",\r\n    \"redlock\": \"^3.1.1\",\r\n    \"source-map-support\": \"^0.4.0\",\r\n    \"spade\": \"file:../spadeFramework\",\r\n    \"stripe\": \"^5.3.0\",\r\n    \"traverse\": \"^0.6.6\",\r\n    \"tween\": \"^0.9.0\",\r\n    \"typecast\": \"0.0.1\",\r\n    \"underscore.string\": \"^3.3.4\",\r\n    \"underscore.string.fp\": \"^1.0.4\",\r\n    \"unflatten\": \"^1.0.4\",\r\n    \"vm\": \"^0.1.0\",\r\n    \"winston\": \"^2.3.1\",\r\n    \"xlsx\": \"^0.12.7\",\r\n    \"zipcode-to-timezone\": \"0.0.9\"\r\n  }\r\n\r\n\r\n**My webpack config is**\r\n\r\nmodule.exports = {\r\n  module: {\r\n    loaders: [\r\n      {\r\n        test: /\\.jsx?$/,\r\n        exclude: /node_modules|bower_components/,\r\n        loader: 'babel'\r\n      },\r\n      {\r\n        test: /\\.json$/, loader: 'json'\r\n      },\r\n      {\r\n        test: /\\.(ico|gif|png|jpg|jpeg|svg|webp)$/,\r\n        loaders: [\"file?context=public&name=/[path][name].[ext]\"],\r\n        exclude: /node_modules/\r\n      },\r\n      {\r\n        test: /\\.woff(\\?v=\\d+\\.\\d+\\.\\d+)?$/,\r\n        loader: \"url?limit=10000&mimetype=application/font-woff&name=./fonts/[hash].[ext]\"\r\n      },\r\n      {\r\n        test: /\\.woff2(\\?v=\\d+\\.\\d+\\.\\d+)?$/,\r\n        loader: \"url?limit=10000&mimetype=application/font-woff&name=./fonts/[hash].[ext]\"\r\n      },\r\n      {\r\n        test: /\\.ttf(\\?v=\\d+\\.\\d+\\.\\d+)?$/,\r\n        loader: \"url?limit=10000&mimetype=application/octet-stream&name=./fonts/[hash].[ext]\"\r\n      },\r\n      {\r\n        test: /\\.eot(\\?v=\\d+\\.\\d+\\.\\d+)?$/,\r\n        loader: \"file&name=./fonts/[hash].[ext]\"\r\n      },\r\n      {\r\n        test: /\\.svg(\\?v=\\d+\\.\\d+\\.\\d+)?$/,\r\n        loader: \"url?limit=10000&mimetype=image/svg+xml&name=./fonts/[hash].[ext]\"\r\n      },\r\n      {\r\n        test: /\\.css$/,\r\n        loader: \"style!css\"\r\n    },\r\n    {\r\n        test: /\\.scss$/,\r\n        loader: \"style!css!sass\"\r\n    },\r\n    {\r\n        test: /\\.less$/,\r\n        loader: \"style!css!less\"\r\n    }\r\n    ]\r\n  },\r\n  progress: true,\r\n  resolve: {\r\n    modulesDirectories: [\r\n      \"client\",\r\n      \"sass\",\r\n      \"public\",\r\n      \"node_modules\",\r\n      __dirname,\r\n      __dirname + '/node_modules',\r\n    ],\r\n    extensions: [\"\", \".json\", \".js\",\".jsx\"]\r\n  }\r\n};\r\n\r\n"}}
{"actor":{"display_login":"bhagayshriajmera"}}