Please make our job easier by filling this template out to completion. If you're requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.
Description
I received the message "Failed to install" when I tried to create the AwesomeProject as described in the Getting Started docs for React Native.
Expected Behavior
create-react-native-app AwesomeProject
I expected it to create the CRNA starter project.
Observed Behavior
I received a "Failed to install" message. Error log:
Please run these commands in the project folder and fill in their results:
npm ls react-native-scripts:
AwesomeProject@0.1.0 C:\Users\b014315\Projects\AwesomeProject
`-- react-native-scripts@1.5.0
npm ls react-native:
AwesomeProject@0.1.0 C:\Users\b014315\Projects\AwesomeProject
`-- (react-native) invalid error: ENOENT: no such file or directory, open 'C:\Users\b014315\Projects\AwesomeProject\node_modules\react-native\package.json
npm ls expo:
AwesomeProject@0.1.0 C:\Users\b014315\Projects\AwesomeProject
`-- (expo) invalid error: ENOENT: no such file or directory, open 'C:\Users\b014315\Projects\AwesomeProject\node_modules\expo\package.json
node -v: v6.11.3
npm -v: 3.10.10
yarn --version: 0.16.1
watchman version: bash: watchman: command not found
Also specify:
Operating system: Windows 7 64 bit
Phone/emulator/simulator & version: n/a
Reproducible Demo
Please provide a minimized reproducible demonstration of the problem you're reporting.
Issues that come with minimal repro's are resolved much more quickly than issues where a maintainer has to reproduce themselves.
Please make our job easier by filling this template out to completion. If you're requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.
Description
I received the message "Failed to install" when I tried to create the AwesomeProject as described in the Getting Started docs for React Native.
Expected Behavior
create-react-native-app AwesomeProject
I expected it to create the CRNA starter project.
Observed Behavior
I received a "Failed to install" message. Error log:
yarn-error.log
If there's an error message, please paste the full terminal output and error message in this code block:
Environment
Please run these commands in the project folder and fill in their results:
npm ls react-native-scripts
: AwesomeProject@0.1.0 C:\Users\b014315\Projects\AwesomeProject `-- react-native-scripts@1.5.0npm ls react-native
: AwesomeProject@0.1.0 C:\Users\b014315\Projects\AwesomeProject`-- (react-native) invalid error: ENOENT: no such file or directory, open 'C:\Users\b014315\Projects\AwesomeProject\node_modules\react-native\package.json
npm ls expo
: AwesomeProject@0.1.0 C:\Users\b014315\Projects\AwesomeProject `-- (expo) invalid error: ENOENT: no such file or directory, open 'C:\Users\b014315\Projects\AwesomeProject\node_modules\expo\package.jsonnode -v
: v6.11.3npm -v
: 3.10.10yarn --version
: 0.16.1watchman version
: bash: watchman: command not foundAlso specify:
Reproducible Demo
Please provide a minimized reproducible demonstration of the problem you're reporting.
Issues that come with minimal repro's are resolved much more quickly than issues where a maintainer has to reproduce themselves.