Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Target already exists #16

Closed
debelop13 opened this issue Feb 8, 2017 · 3 comments
Closed

Target already exists #16

debelop13 opened this issue Feb 8, 2017 · 3 comments

Comments

@debelop13
Copy link

Hello,

First time that I build all is ok, but second time I have to delete my target folder to can compile, exists any type of flag like overwrite: true or something like that?

Running "appdmg:target" (appdmg) task
[ 1/20] Looking for target... [FAIL]

Error: Target already exists
Warning: Task "appdmg:target" failed. Use --force to continue.

Aborted due to warnings.

Thanks.

@htanjo
Copy link
Member

htanjo commented Feb 9, 2017

This error comes from the original node-appdmg, not grunt-appdmg. grunt-appdmg is just a wrapper.
According to the appdmg's source code, this behavior is its spec and appdmg doesn't have such an overwrite flag.

If you really need this option, could you report it on node-appdmg project?
If you just want to fix the task error, please install grunt-contrib-clean and register clean task before running appdmg.

Thanks.

@debelop13
Copy link
Author

Reported in: LinusU/node-appdmg#130
Anyway, grunt-contrib-clean is good option!

Thanks for your attention!!

@htanjo
Copy link
Member

htanjo commented Feb 13, 2017

No problem! Thanks for reporting. 😄

@htanjo htanjo closed this as completed Feb 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants