invalid url string when attempting js module import
Currently trying to import from a file...
I get this error when I try to hit my worker
I get this error when I try to hit my worker
text: 'A request to the Cloudflare API
(/accounts/61d49c021d802c88abdb553e6f9342dd/workers/scripts/dark-voice-8281/edge-preview)
failed.',
notes: [
{
text: 'Uncaught TypeError: Invalid URL string.\n' +
' at index.js:1453:32\n' +
' at index.js:1550:3\n' +
' [code: 10021]'
}
],
location: undefined,
kind: 'error',
code: 10021
}import {metadataExtractor} from './extractor/extractor.js'