{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/create-react-app/issues/3963","repository_url":"https://api.github.com/repos/facebook/create-react-app","labels_url":"https://api.github.com/repos/facebook/create-react-app/issues/3963/labels{/name}","comments_url":"https://api.github.com/repos/facebook/create-react-app/issues/3963/comments","events_url":"https://api.github.com/repos/facebook/create-react-app/issues/3963/events","html_url":"https://github.com/facebook/create-react-app/issues/3963","id":294118718,"number":3963,"title":"Cannot `create-react-app myApp` => Error: Cannot find module 'fstream'","user":{"login":"JESii","id":486,"avatar_url":"https://avatars2.githubusercontent.com/u/486?v=4","gravatar_id":"","url":"https://api.github.com/users/JESii","html_url":"https://github.com/JESii","followers_url":"https://api.github.com/users/JESii/followers","following_url":"https://api.github.com/users/JESii/following{/other_user}","gists_url":"https://api.github.com/users/JESii/gists{/gist_id}","starred_url":"https://api.github.com/users/JESii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JESii/subscriptions","organizations_url":"https://api.github.com/users/JESii/orgs","repos_url":"https://api.github.com/users/JESii/repos","events_url":"https://api.github.com/users/JESii/events{/privacy}","received_events_url":"https://api.github.com/users/JESii/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-03T15:19:52Z","updated_at":"2018-02-03T16:01:41Z","closed_at":"2018-02-03T16:01:41Z","author_association":"NONE","body":"<!--\r\n  PLEASE READ THE FIRST SECTION :-)\r\n-->\r\n\r\n### Is this a bug report?\r\n\r\n(yes)\r\n\r\n<!--\r\n  If you answered \"Yes\":\r\n  \r\n    Please note that your issue will be fixed much faster if you spend about\r\n    half an hour preparing it, including the exact reproduction steps and a demo.\r\n    \r\n    If you're in a hurry or don't feel confident, it's fine to report bugs with\r\n    less details, but this makes it less likely they'll get fixed soon.\r\n\r\n    In either case, please fill as many fields below as you can.\r\n\r\n  If you answered \"No\":\r\n\r\n    If this is a question or a discussion, you may delete this template and write in a free form.\r\n    Note that we don't provide help for webpack questions after ejecting.\r\n    You can find webpack docs at https://webpack.js.org/.\r\n-->\r\n\r\n### Did you try recovering your dependencies?\r\n\r\n<!--\r\n  Your module tree might be corrupted, and that might be causing the issues.\r\n  Let's try to recover it. First, delete these files and folders in your project:\r\n\r\n    * node_modules\r\n    * package-lock.json\r\n    * yarn.lock\r\n\r\n  Then you need to decide which package manager you prefer to use.\r\n  We support both npm (https://npmjs.com) and yarn (http://yarnpkg.com/).\r\n  However, **they can't be used together in one project** so you need to pick one.\r\n  \r\n  If you decided to use npm, run this in your project directory:\r\n\r\n    npm install -g npm@latest\r\n    npm install\r\n\r\n  This should fix your project.\r\n  \r\n  If you decided to use yarn, update it first (https://yarnpkg.com/en/docs/install).\r\n  Then run in your project directory:\r\n\r\n    yarn\r\n\r\n  This should fix your project.\r\n\r\n  Importantly, **if you decided to use yarn, you should never run `npm install` in the project**.\r\n  For example, yarn users should run `yarn add <library>` instead of `npm install <library>`.\r\n  Otherwise your project will break again.\r\n\r\n  Have you done all these steps and still see the issue?\r\n  Please paste the output of `npm --version` and/or `yarn --version` to confirm.\r\n-->\r\n\r\n(5.6.0)\r\n\r\n### Which terms did you search for in User Guide?\r\n\r\n<!--\r\n  There are a few common documented problems, such as watcher not detecting changes, or build failing.\r\n  They are described in the Troubleshooting section of the User Guide:\r\n\r\n  https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#troubleshooting\r\n\r\n  Please scan these few sections for common problems.\r\n  Additionally, you can search the User Guide itself for something you're having issues with:\r\n  \r\n  https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md\r\n  \r\n  If you didn't find the solution, please share which words you searched for.\r\n  This helps us improve documentation for future readers who might encounter the same problem.\r\n-->\r\n\r\n(This is about creating an app, not using an existing one)\r\n\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`: v8.9.2\r\n2. `npm -v`: 5.6.0\r\n3. `yarn --version` (if you use Yarn):\r\n4. `npm ls react-scripts` (if you haven’t ejected): \r\n/Users/jseidel\r\n└── (empty)\r\n\r\nThen, specify:\r\n\r\n1. Operating system: macOS, El Capitan, 10.11.6\r\n2. Browser and version (if relevant): \r\n\r\n\r\n### Steps to Reproduce\r\n\r\n<!--\r\n  How would you describe your issue to someone who doesn’t know you or your project?\r\n  Try to write a sequence of steps that anybody can repeat to see the issue.\r\n-->\r\n\r\n(Write your steps here:)\r\n\r\n1. npm install -g create-react-app\r\n2. create-react-app myApp\r\n\r\n\r\n### Expected Behavior\r\n\r\n<!--\r\n  How did you expect the tool to behave?\r\n  It’s fine if you’re not sure your understanding is correct.\r\n  Just write down what you thought would happen.\r\n-->\r\n\r\n(Should create my app.)\r\n\r\n\r\n### Actual Behavior\r\n\r\n<!--\r\n  Did something go wrong?\r\n  Is something broken, or not behaving as you expected?\r\n  Please attach screenshots if possible! They are extremely helpful for diagnosing issues.\r\n-->\r\n\r\n![image](https://user-images.githubusercontent.com/486/35768553-607a5274-08b2-11e8-99bc-1d8a633f7f06.png)\r\n\r\nSo then I did `npm i -g fstream` and now get cannot find module 'block-chain'... \r\nDoes this really require installing modules one-at-a-time as create-react-app fails?\r\n\r\nAlso needed to add 'block-stream', 'fstream-ignore', 'xtend'...\r\n\r\nFinally started to create the app and then failed with this:\r\n`error An unexpected error occurred: \"https://registry.yarnpkg.com/isomorphic-fetch: ETIMEDOUT\".`\r\n![image](https://user-images.githubusercontent.com/486/35768617-6acb336e-08b3-11e8-8001-ea732af2376c.png)\r\nFinally worked after re-attempting...\r\n\r\n### Reproducible Demo\r\n\r\n<!--\r\n  If you can, please share a project that reproduces the issue.\r\n  This is the single most effective way to get an issue fixed soon.\r\n\r\n  There are two ways to do it:\r\n\r\n    * Create a new app and try to reproduce the issue in it.\r\n      This is useful if you roughly know where the problem is, or can’t share the real code.\r\n\r\n    * Or, copy your app and remove things until you’re left with the minimal reproducible demo.\r\n      This is useful for finding the root cause. You may then optionally create a new project.\r\n\r\n  This is a good guide to creating bug demos: https://stackoverflow.com/help/mcve\r\n  Once you’re done, push the project to GitHub and paste the link to it below:\r\n-->\r\n\r\n(Paste the link to an example project and exact instructions to reproduce the issue.)\r\n\r\n<!--\r\n  What happens if you skip this step?\r\n  \r\n  We will try to help you, but in many cases it is impossible because crucial\r\n  information is missing. In that case we'll tag an issue as having a low priority,\r\n  and eventually close it if there is no clear direction.\r\n  \r\n  We still appreciate the report though, as eventually somebody else might\r\n  create a reproducible example for it.\r\n\r\n  Thanks for helping us help you!\r\n-->\r\n"}}
{"actor":{"display_login":"gaearon"}}