drop()
on it, it simply fails with:Request queue with id: 7ae80a2d-3b06-4a8f-929d-4fbfc5947e81 does not exist.
apify run -p
the default RequestQueue would be deleted for you, everytime you run it. Be aware that you may have only single unnamed (default) RequestQueue in your run.Since you are using named RequestQueue (which is meant to be persistent) you should be able drop it on start and (probably the importatnt part there) create a new one with the same name again for the development.Thanks, but how?
options.requestQueue = await RequestQueue.open(`${rqName}_V${this.version}`); if (this.args.clear) { options.requestQueue.drop(); }
options.requestQueue = await RequestQueue.open(nameWithVersion); if (this.args.clear) { options.requestQueue.drop(); options.requestQueue = await RequestQueue.open(nameWithVersion); }