Follow the build instruction in the solution.
to use the Microsoft Graph API, e.g. for Term creation add the the snippet below.
./config/package-solution.json
"webApiPermissionRequests": [
{
"resource": "Microsoft Graph",
"scope": "TermStore.ReadWrite.All"
}
],
After installing the package, grant it permissions in Sharepoint Admin Center: Advanced / API access