-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Source and destination must not be the same. #693
Comments
Late discovered. Related to #692 and https://github.com/apache/cordova-common/issues/64. |
Hey, we are facing a similar error. Have you found a way how to fix it? Thanks a lot in advance! |
For me, the issue was that I was using the |
|
Thanks for your help, but I do not have this line in the config.xml |
Oh, frankly, I am not a developer. Guy why started the project got sick and I am trying to fix this issue by myself. I am using Cordoba 9 version. |
Running the command that produces the error with the |
Im also getting this error, I'm executing the following command :
|
Does ionic support passing down the |
Yes I added verbose now and I will tell you the result |
This is part of the log:
|
Is this the entire stacktrace? Seems strange there is only one item in the trace. |
No but didnt wanna add it because this is a company's project, not mine personal. But here is the rest:
|
It worked, I removed the plugin Great. But now I need to figure out why it is not working with I dont wanna stay till night here :p Do you know any other cordova plugin for android permissions? |
Thank you, I think this is enough information to at least investigate where the error is coming from.
I use https://github.com/dpa99c/cordova-diagnostic-plugin personally. |
It worked with
Then added the plugin again, then I added the android platform and it worked. Now for the build. Im not sure what the problem is, but it seems its all related to this plugin and |
Btw the build succeeded |
Now I got this error again when building, even though I didnt change anything |
I just received this error at work, it was trying to copy a file that was a symlink. Modifying the following line: To add the options parameter: {
"dereference": true
} Fixed the problem for me. The
|
Hey, I was having same error "Source and destination must not be the same"
|
I am closing out this ticket as we beleive it has been resolved since. Since then, I have not be able to reproduced it anymore.
If anyone is still see this issue, please try and reinstall with the latest versions of:
Reinstall Cordova w/ Latest Version
Reinstall Platform w/ Latest Version (in the project directory) cordova platform remove android
cordova platform add [email protected] If problem persists please make a new ticket with updated information, such as:
|
Bug Report
Problem
Since
cordova-android
8.0.0 we have build problems. In most of cases we got the error"An error occurred while running subprocess cordova." and the last line
"Source and destination must not be the same".
Sometimes, the build is ok. - We always check out the git repository of the app. (hard clean)
What is expected to happen?
Build successfully.
What does actually happen?
Build failed.
Information
This error is not 100% reprocable. But about 80%.
I just updated Cordova-Android. I expecting the node plugin fa-extra. Maybe Cordova-Android uses this with wrong attributes?
Command or Code
ionic cordova build android --release --prod --generateSourceMap false
But also
ionic cordova build
orcordova build
.Environment, Platform, Device / Version information
Log
The text was updated successfully, but these errors were encountered: