You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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:
The suggestion is to add the following to the package.json
The text was updated successfully, but these errors were encountered: