A customer reported the issue with the use of the types node ambient declaration which is included in the Graph Client library.
A bit more detail, the issue is with the following files:
src\tasks\FileUploadTask\FileObjectClasses\FileUpload.ts
src\tasks\FileUploadTask\FileObjectClasses\StreamUpload.ts
src\tasks\LargeFileUploadTask.ts
src\tasks\OneDriveLargeFileUploadTask.ts
This is similar to issue with the Graph Client library requiring the dom to build #520.
The Graph library should be work fine without globally requiring dom or node types.