-
Notifications
You must be signed in to change notification settings - Fork 340
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
CLI 8.0.1-dev (cordova-lib@9.0.0-dev) can't install local platforms (iOS, Android) #362
Comments
Here the command to set up your environment this way:
Should be enough to create a project with |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Here are the command to a full repro, after setting up your system with the
(The exact same works for iOS as well) |
I debugged and understood the problem in apache/cordova-mobile-spec#159, so here is a copy of my last comment that has all the information:
|
The problem only manifests when installing |
@janpio Regarding the node_modules folder, see apache/cordova#32 |
Thanks for the pointer, this indeed seems to be the reason - the PR I linked to here was a result of that issue. |
@erisu helped me confirm that this does not only happen on Windows and out of the context of coho etc. Here are the reproduction commands:
|
I just ran the following commands on my machine successfully (extracted from your reproduction listing @janpio): git clone http://github.com/apache/cordova-cli && cd cordova-cli
npm i
npm link
cd ..
git clone http://github.com/apache/cordova-android && cd cordova-android
npm i
cd ..
cordova create test1 && cd test1
cordova platform add ../cordova-android Works for me, YMMV. Closing for now. |
Currently fighting my way through https://github.com/apache/cordova-mobile-spec and using https://github.com/apache/cordova-coho to get everything locally - which means I am working with
master
of everything.Now I am having problems with installing the Android platform from a local folder (
../cordova-android
is themaster
checkout ofcordova-android
):The same works from GitHub directly:
So somehow installing from a local folder is broken.
My npm:
The text was updated successfully, but these errors were encountered: