{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/create-react-app/issues/4076","repository_url":"https://api.github.com/repos/facebook/create-react-app","labels_url":"https://api.github.com/repos/facebook/create-react-app/issues/4076/labels{/name}","comments_url":"https://api.github.com/repos/facebook/create-react-app/issues/4076/comments","events_url":"https://api.github.com/repos/facebook/create-react-app/issues/4076/events","html_url":"https://github.com/facebook/create-react-app/issues/4076","id":300051326,"number":4076,"title":"Cannot read property 'thisCompilation' of undefined during npm run build","user":{"login":"jsrawan-mobo","id":359483,"avatar_url":"https://avatars2.githubusercontent.com/u/359483?v=4","gravatar_id":"","url":"https://api.github.com/users/jsrawan-mobo","html_url":"https://github.com/jsrawan-mobo","followers_url":"https://api.github.com/users/jsrawan-mobo/followers","following_url":"https://api.github.com/users/jsrawan-mobo/following{/other_user}","gists_url":"https://api.github.com/users/jsrawan-mobo/gists{/gist_id}","starred_url":"https://api.github.com/users/jsrawan-mobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsrawan-mobo/subscriptions","organizations_url":"https://api.github.com/users/jsrawan-mobo/orgs","repos_url":"https://api.github.com/users/jsrawan-mobo/repos","events_url":"https://api.github.com/users/jsrawan-mobo/events{/privacy}","received_events_url":"https://api.github.com/users/jsrawan-mobo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-25T18:59:56Z","updated_at":"2018-02-28T11:17:15Z","closed_at":null,"author_association":"NONE","body":"I've been running react-scripts build in docker for last 3 months and suddenly our builds started failing this week (without any change in the package.json dependencies)\r\n\r\n### Is this a bug report?\r\nYes\r\n\r\n### Did you try recovering your dependencies?\r\n\r\nYes, using nvm with node 6.11.1 and npm 3.10.10\r\n\r\n### Which terms did you search for in User Guide?\r\n\r\nusing npm run build, not using anythin relevant\r\n\r\n### Environment\r\n\r\n<!--\r\n  Please fill in all the relevant fields by running these commands in terminal.\r\n-->\r\n\r\n1. `node -v`:  6.11.1\r\n2. `npm -v`:  3.10.10\r\n3. `yarn --version` (if you use Yarn):  N/A\r\n4. `npm ls react-scripts` (if you haven’t ejected): \r\n\r\nThen, specify:\r\n\r\n1. Operating system:  Debian 9.3 (Docker nginx:1.13)\r\n2. Browser and version (if relevant): N/A\r\n\r\n\r\n### Steps to Reproduce\r\napt-get -y update\r\napt-get -y install curl\r\napt-get -y install gnupg\r\napt-get -y install gnupg1 gnupg2 procps\r\ncurl -sL https://deb.nodesource.com/setup_6.x | bash -\r\napt-get -y install nodejs\r\ncurl https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash -\r\nsource ~/.nvm/nvm.sh\r\nnvm list\r\nnvm install v6.11.1\r\nnpm install\r\nnpm rebuild node-sass --force\r\nCI=\"\" npm run build\r\n\r\n\r\n### Expected Behavior\r\n\r\nCreating an optimized production build...\r\nFile sizes after gzip:\r\n\r\n  341.23 KB  build/static/js/main.0a9ca280.js\r\n  35.24 KB   build/static/css/main.7b053899.css\r\n...\r\n\r\n### Actual Behavior\r\n\r\nCreating an optimized production build...\r\nFailed to compile.\r\n\r\nCannot read property 'thisCompilation' of undefined\r\n\r\nnpm ERR! Linux 4.9.60-linuxkit-aufs\r\n\r\n...\r\n\r\n[npm-debug.log](https://github.com/facebook/create-react-app/files/1756591/npm-debug.log)\r\n\r\n\r\n### Reproducible Demo\r\n\r\nTBD - will try to create a docker with mock project.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/create-react-app/issues/comments/369208471","html_url":"https://github.com/facebook/create-react-app/issues/4076#issuecomment-369208471","issue_url":"https://api.github.com/repos/facebook/create-react-app/issues/4076","id":369208471,"user":{"login":"akhil-geekyants","id":27768184,"avatar_url":"https://avatars3.githubusercontent.com/u/27768184?v=4","gravatar_id":"","url":"https://api.github.com/users/akhil-geekyants","html_url":"https://github.com/akhil-geekyants","followers_url":"https://api.github.com/users/akhil-geekyants/followers","following_url":"https://api.github.com/users/akhil-geekyants/following{/other_user}","gists_url":"https://api.github.com/users/akhil-geekyants/gists{/gist_id}","starred_url":"https://api.github.com/users/akhil-geekyants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhil-geekyants/subscriptions","organizations_url":"https://api.github.com/users/akhil-geekyants/orgs","repos_url":"https://api.github.com/users/akhil-geekyants/repos","events_url":"https://api.github.com/users/akhil-geekyants/events{/privacy}","received_events_url":"https://api.github.com/users/akhil-geekyants/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T11:17:15Z","updated_at":"2018-02-28T11:17:15Z","author_association":"NONE","body":"I got this after using npm install.\r\nUsing yarn removed this."}}
{"actor":{"display_login":"akhil-geekyants"}}