-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create-react-native-app not working with Yarn and NPM both #246
Comments
Hello! Thanks for the detailed report. It's worth noting that we clearly state in readme that npm5 is not supported because it is still buggy. Outside of that, can you try installing the If that doesn't work, you might want to go back to node 7 and try it again. If that works then your issue should be resolved. It seems like there may be problems building sqlite with node 8 on windows: TryGhost/node-sqlite3#825 |
@brentvatne Awesome. It worked with Node 7. Network connection in my laptop and mobile are good and are on the same network. |
@brentvatne It worked with XDE though. Thank you for help getting this issue resolved. |
if it worked with XDE then I suspect something was wrong with the network -- for example if you are on the same wifi but the network is locked down like a public wifi network (eg hotel, restaurant, cafe) often is, then you can't connect to web servers or anything on other devices on the network. XDE creates a tunnel for you automatically, so that's why it would work there. we don't do that for create-react-native-app because the tunnel service is a paid service and we didn't want to couple create-react-native-app to it. |
@brentvatne I don't think it's the problem with network. Seems like Windows has issues. I've installed WSL(Bash) on Windows and if you start from bash it's working. Works well from Ubuntu OS too. |
Description
Not able to create project with Yarn and NPM. Yarn causes gyp errors. NPM causes package starting errors.
Expected Behavior
What action did you perform, and what did you expect to happen?
With npm project (Yarn uninstalled) -> create-react-native-app testcrna
With yarn project -> create-react-native-app testcrnayarn
Observed Behavior
With NPM
With Yarn
Environment
In NPM created project
In Yarn created project
Also specify:
Note: Windows build tools (https://www.npmjs.com/package/windows-build-tools) also installed
The text was updated successfully, but these errors were encountered: