No fetch? No problem.
bard-ai uses Node's experimental fetch function, which is enabled by default now. However, if the environment you are in still doesn't support it, simply install a polyfill, and inject it into global scope.