Closed yeomann closed 6 years ago
Hi @yeomann , Thanks for reporting!
As it is issue for appcenter-analytics and appcenter-crashes I think that it will be better if you will report this issue to according repo: https://github.com/Microsoft/AppCenter-SDK-React-Native It will be faster to get response for you in those repo.
Please let me know if you have any questions.
Thanks, Alexander
thanks @alexandergoncharov I think it because React-native 0.56.0 uses node >= 8 and appcenter is still on v6 anyways I'll close for now.
@yeomann You can solve this by adding a Post Clone script in your repo to install your desired node version.
You can read about post clone script here: https://docs.microsoft.com/en-us/appcenter/build/custom/scripts/#post-clone
@theashishranjan @yeomann You could also use the .yarnrc
file.
--install.ignore-engines true
Edit: this does not work since the react-native cli uses node 8 features.
ok thanks, I solved the issue via post-clone script.
The requirements of the build machines list node 6 and 8 installed (https://docs.microsoft.com/en-us/appcenter/build/software).
Any idea how to use the preinstalled version 8 ?
@n1ru4l the only way to do it currently is to follow the instructions @theashishranjan described. Remember to do a "re-save" on the Build Configuration for App Center to pick it up again. I missed this step and couldn't work out why it was working.
Steps to Reproduce
Expected Behavior
build to happen after I selected bitbucket git repo
Actual Behavior
Reproducible Demo
Here's the repo for you https://bitbucket.org/xeront/test-upgrade
Environment