monkeymom2
monkeymom2
DDeno
Created by monkeymom2 on 1/25/2024 in #help
Importing submodules
i am trying to port this code from node
import { Client } from "@microsoft/microsoft-graph-client";
import { TokenCredentialAuthenticationProvider } from "@microsoft/microsoft-graph-client/authProviders/azureTokenCredentials";
import { Client } from "@microsoft/microsoft-graph-client";
import { TokenCredentialAuthenticationProvider } from "@microsoft/microsoft-graph-client/authProviders/azureTokenCredentials";
4 replies
DDeno
Created by monkeymom2 on 1/25/2024 in #help
Importing submodules
I get this error message:
Setting up Edge Functions runtime...
Serving functions on http://127.0.0.1:54321/functions/v1/<function-name>
serving the request with /home/deno/functions/sync-calendars-availability
Unable to load /tmp/sb-compile-edge-runtime/node_modules/localhost/@microsoft/microsoft-graph-client/3.0.7/lib/src/authentication/azureTokenCredentials imported from file:///home/deno/functions/_shared/graph.ts
An error has occured
InvalidWorkerCreation: worker boot error
at async UserWorker.create (ext:sb_user_workers/user_workers.js:123:15)
at async Server.<anonymous> (file:///home/deno/main/index.ts:129:20)
at async #respond (https://deno.land/std@0.182.0/http/server.ts:220:18) {
name: "InvalidWorkerCreation"
Setting up Edge Functions runtime...
Serving functions on http://127.0.0.1:54321/functions/v1/<function-name>
serving the request with /home/deno/functions/sync-calendars-availability
Unable to load /tmp/sb-compile-edge-runtime/node_modules/localhost/@microsoft/microsoft-graph-client/3.0.7/lib/src/authentication/azureTokenCredentials imported from file:///home/deno/functions/_shared/graph.ts
An error has occured
InvalidWorkerCreation: worker boot error
at async UserWorker.create (ext:sb_user_workers/user_workers.js:123:15)
at async Server.<anonymous> (file:///home/deno/main/index.ts:129:20)
at async #respond (https://deno.land/std@0.182.0/http/server.ts:220:18) {
name: "InvalidWorkerCreation"
4 replies