Closed
Description
Node compatibility should be defined in package.json due to scraper.ts using a node >18.0.0 feature global.fetch
.
As node 16.x is still used by some people, it could create confusion.
Due to the error not being so detailed when global.fetch is not defined.
The error:
ArgumentError {
name: 'ArgumentError',
message: 'fetch must be a function'
}
The suggestion is to add the following to the package.json
"engines": {
"node": ">=18.0.0"
},
"engineStrict": true