URL dependency missing
klein0r opened this issue · comments
Matthias Kleine commented
npm run addToLatest -- --name youtube --type misc-data
leads to
ERROR: URL is not defined
@ https://github.com/ioBroker/ioBroker.repositories/blob/master/lib/scripts.js#L440
I've added const URL = require('url').URL;
to the requirements and it worked.
Please add this dependency (if this is the correct solution).
AlCalzone commented
I wonder why that worked locally without the require. PR created. Thanks for the report!