{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/1895","repository_url":"https://api.github.com/repos/swagger-api/swagger-editor","labels_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/1895/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/1895/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/1895/events","html_url":"https://github.com/swagger-api/swagger-editor/issues/1895","id":367003635,"node_id":"MDU6SXNzdWUzNjcwMDM2MzU=","number":1895,"title":"npm install Webpack and eslint peer dependency issue","user":{"login":"flynnmattson","id":12478032,"node_id":"MDQ6VXNlcjEyNDc4MDMy","avatar_url":"https://avatars2.githubusercontent.com/u/12478032?v=4","gravatar_id":"","url":"https://api.github.com/users/flynnmattson","html_url":"https://github.com/flynnmattson","followers_url":"https://api.github.com/users/flynnmattson/followers","following_url":"https://api.github.com/users/flynnmattson/following{/other_user}","gists_url":"https://api.github.com/users/flynnmattson/gists{/gist_id}","starred_url":"https://api.github.com/users/flynnmattson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flynnmattson/subscriptions","organizations_url":"https://api.github.com/users/flynnmattson/orgs","repos_url":"https://api.github.com/users/flynnmattson/repos","events_url":"https://api.github.com/users/flynnmattson/events{/privacy}","received_events_url":"https://api.github.com/users/flynnmattson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-04T23:11:13Z","updated_at":"2018-10-09T21:35:34Z","closed_at":null,"author_association":"NONE","body":"### Q&A\r\n - OS: macOS\r\n - Browser: chrome\r\n - Version: N/A\r\n - Method of installation: normal installation directions\r\n - Swagger-Editor version: 3.6.11 (master branch)\r\n - Swagger/OpenAPI version: OpenAPI 3.0\r\n\r\n### Content & configuration\r\nJust tried following normal setup instructions:\r\n- cloned code to computer locally\r\n- ran \"npm install\" and returns these peer dependency warnings:\r\n\r\nnpm WARN eslint-config-standard@6.2.1 requires a peer of eslint@>=3.8.1 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN eslint-config-standard-jsx@3.2.0 requires a peer of eslint@>=3.0.0 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN eslint-plugin-standard@2.0.1 requires a peer of eslint@>=3.0.0 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN expose-loader@0.7.5 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN schema-utils@0.4.5 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN webpack-dev-server@2.11.3 requires a peer of webpack@^2.2.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN uglifyjs-webpack-plugin@1.2.7 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN The package deepmerge is included as both a dev and production dependency.\r\n\r\nWebpack and eslint are dependencies in the package.json but neither are high enough versions for these other packages. I tried changing the version numbers but it only causes more problems.\r\n\r\n- ran \"npm run dev\" and received these errors on the browser console at http://0.0.0.:3200/\r\n![screen shot 2018-10-04 at 3 59 04 pm](https://user-images.githubusercontent.com/12478032/46507653-755d6900-c7ee-11e8-9e0a-aa643f48adf5.png)\r\n\r\n- ran \"npm run build\" and received these errors:\r\n\r\nERROR in swagger-editor-standalone-preset.js from UglifyJs\r\nImport statement may only appear at top level [./src/standalone/index.js:1,0][swagger-editor-standalone-preset.js:2435,1]\r\n\r\nERROR in swagger-editor.js from UglifyJs\r\nImport statement may only appear at top level [./src/index.js:1,0][swagger-editor.js:2435,1]\r\n\r\nERROR in swagger-editor-bundle.js from UglifyJs\r\nImport statement may only appear at top level [./src/index.js:1,0][swagger-editor-bundle.js:2435,1]\r\n\r\nLet me know if you need any further details\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/comments/428361144","html_url":"https://github.com/swagger-api/swagger-editor/issues/1895#issuecomment-428361144","issue_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/1895","id":428361144,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODM2MTE0NA==","user":{"login":"flynnmattson","id":12478032,"node_id":"MDQ6VXNlcjEyNDc4MDMy","avatar_url":"https://avatars2.githubusercontent.com/u/12478032?v=4","gravatar_id":"","url":"https://api.github.com/users/flynnmattson","html_url":"https://github.com/flynnmattson","followers_url":"https://api.github.com/users/flynnmattson/followers","following_url":"https://api.github.com/users/flynnmattson/following{/other_user}","gists_url":"https://api.github.com/users/flynnmattson/gists{/gist_id}","starred_url":"https://api.github.com/users/flynnmattson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flynnmattson/subscriptions","organizations_url":"https://api.github.com/users/flynnmattson/orgs","repos_url":"https://api.github.com/users/flynnmattson/repos","events_url":"https://api.github.com/users/flynnmattson/events{/privacy}","received_events_url":"https://api.github.com/users/flynnmattson/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T21:35:34Z","updated_at":"2018-10-09T21:35:34Z","author_association":"NONE","body":"@shockey I'm using node 9.8.0 and npm 5.6.0\r\n\r\nI just updated npm to 6.4.1 and still the same issue."}}
{"actor":{"display_login":"flynnmattson"}}