I have a simple CircleCI configuration which runs on MacOS that will checkout some test code, install NS dependencies as described in the docs and then builds the project for iOS.
This works perfectly when I use nativescript@3 but always fails when using nativescript@4 with the following error:
You are missing the nativescript-cloud extension and you will not be able to execute cloud builds.
Your environment is not configured properly and you will not be able to execute local builds.
[...]
Exited with code 127
Any ideas what NS4 needs extra from NS3 ?
Versions:
$ node -v
v8.9.1
$ npm -v
5.5.1
$ xcodeproj --version
1.5.9
$ pod --version
1.5.3
# Command-line tools for Xcode
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
version: 9.1.0.0.1.1508540944
Hey @surdu ,
Thanks for the detailed report. I've checked the log files and here's what I think is happening:
tns prepare ios command tries to check your environmentAs I'm unable to see what is not setup in the logs, may I ask you to try executing tns prepare ios --log trace - this will print a lot more information in the output and we'll be able to see what is not setup correctly.
I did. Here are the results.
Hey @surdu ,
Thanks for providing the logs. Based on it I think the problem is that you do not have the python "six" package installed. Can you try installing it with pip install six and see if this will resolve the issue?
Thanks a million @rosen-vladimirov, this appears to have solved the problem.
What would be a good next step: edit documentation to list this dependency or update setup-scripts to also install six ?
Hey @surdu , I'm glad it works now. We'll update both the documentation and the setup scripts. I'll keep this issue open, so you can track the progress of the task here.
I've created PRs to address this issue in both repos. Thanks again for the help!
Most helpful comment
I've created PRs to address this issue in both repos. Thanks again for the help!