-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Warning error running install script for optional dependency #48
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
Comments
Hi! Thanks for the report! Sorry this isn't working for you. Can you paste the contents of package.json in the directory where this failed? I'm seeing some warnings about an organizational NPM mirror being configured in an environment variable, and I'm wondering if perhaps the mirror you have set hasn't pulled the latest version of the dependencies? A previous version of one of the dependencies wasn't able to build without a compiler toolchain (kind of defeating the purpose of this 😅 ). |
No problem! I'm just looking forward to try it asap. It's really exciting stuff. 😄 The package.json don't say much:
I'm not sure about the mirror I've set though. Should I try something different besides the usual |
It seems I have a similar error, and on a different system. Node v7.5.0 Package.json: {
"name": "native-app-example",
"version": "0.1.0",
"private": true
} Error:
|
I tried to install at work with Node 7.6.0 and it's working, but I can't load it in my device with QR code.
|
The same for me, though when testing via http://my_ip:19000 request I get (assuming) a proper json response for handling content by expo app. Update: This may be a problem with docker. I've redirected 2 ports (19000 & 19001, but expo app is still trying to connect to my docker ip), so my problem might not be related to this issue. |
@viniciusCamargo @rtpm are your phone and computer on the same local network? |
Yes, they are on the same network. My docker (internal ip) is 172.17.0.2, and this ip is included in the QR code.. this won't work as it needs to connect to my docker host LAN ip: 192.168.10.16 This is the content of http://192.168.10.16:19000 response.
Some env for setting the ip would maybe solve it? Thanks |
I can see using an environment variable for the IP address, but is there a reason you need to run it in docker? CRNA should work on Windows, Linux, and Mac. |
With 337 MB image (all stuff for running create-react-native-app) included I can move it between my boxes easily. (Alpine Linux). Unfortunately I am unable to run create-react-native-app on windows 10 (using cmd & git bash). Now it's complaining about Visual C++/ .NET dependency. Not creating an issue yet as I'm not sure If I do all the things properly :-) |
@rtpm cool -- makes sense. I'm going to prioritize making ((Windows + yarn) - MSVC) work well right now, and I can revisit docker support soon. |
@dikaiosune yep! same network here... |
Update on the Windows installation issues: I've released 0.0.5 of create-react-native-app which asks yarn to ignore optional dependencies (which is where this error is arising), but yarn does not appear to be respecting the flag. |
uninstalled yarn from machine and tried to create a project. |
I think this may be due to a bug in yarn. I've filed an issue which will either help me discover how I'm using yarn incorrectly, or we can hopefully get it fixed: yarnpkg/yarn#2929 |
Works fine for me using npm (yarn uninstalled) |
Hey, folks! I couldn't install it neither with Node v6.6.0 nor v7.7.1. Here's the log:
The text was updated successfully, but these errors were encountered: