- 
                Notifications
    
You must be signed in to change notification settings  - Fork 13
 
Open
Description
Do you know  why is getting me this compiling error?
I'm just using the code in the example
I run using "node -r esm" like in the example and it run perfectly
**`import { OaiPmh } from 'oai-pmh'
async function main () {
const oaiPmh = new OaiPmh('http://export.arxiv.org/oai2')
const identifierIterator = oaiPmh.listIdentifiers({
metadataPrefix: 'oai_dc',
from: '2015-01-01',
until: '2015-01-04'
})
for await (const identifier of identifierIterator) {
console.log(identifier)
}
}
main().catch(console.error)`**
but when i tried to use in normal code compilng an app it gets me the following error:

Metadata
Metadata
Assignees
Labels
No labels