Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console.log(globalThis) throws webgpu error #3175

Open
anonrig opened this issue Nov 26, 2024 · 0 comments
Open

console.log(globalThis) throws webgpu error #3175

anonrig opened this issue Nov 26, 2024 · 0 comments
Labels

Comments

@anonrig
Copy link
Member

anonrig commented Nov 26, 2024

Running console.log(globalThis) on nodejs_compat with latest compat date throws the following error message:

<Formatting threw (Error: Error: TypeError: webgpu api is only available in Durable Objects
    at Navigator.formatJsgResourceType (node-internal:internal_inspect:2383:31)
    at formatValue (node-internal:internal_inspect:813:49)
    at formatProperty (node-internal:internal_inspect:1875:15)
    at formatRaw (node-internal:internal_inspect:1081:25)
    at formatValue (node-internal:internal_inspect:841:12)
    at inspect (node-internal:internal_inspect:397:12)
    at formatJsgResourceType (node-internal:internal_inspect:2402:23)
    at formatValue (node-internal:internal_inspect:813:49)
    at formatProperty (node-internal:internal_inspect:1875:15)
    at formatRaw (node-internal:internal_inspect:1081:25)
    at assert.fail (node-internal:internal_inspect:43:11)
    at handleMaxCallStackSize (node-internal:internal_inspect:1516:12)
    at formatRaw (node-internal:internal_inspect:1089:16)
    at formatValue (node-internal:internal_inspect:841:12)
    at inspect (node-internal:internal_inspect:397:12)
    at formatJsgResourceType (node-internal:internal_inspect:2402:23)
    at formatValue (node-internal:internal_inspect:813:49)
    at formatProperty (node-internal:internal_inspect:1875:15)
    at formatRaw (node-internal:internal_inspect:1081:25)
    at formatValue (node-internal:internal_inspect:841:12)
    at assert.fail (node-internal:internal_inspect:43:11)
    at handleMaxCallStackSize (node-internal:internal_inspect:1516:12)
    at formatRaw (node-internal:internal_inspect:1089:16)
    at formatValue (node-internal:internal_inspect:841:12)
    at inspect (node-internal:internal_inspect:397:12)
    at formatJsgResourceType (node-internal:internal_inspect:2402:23)
    at formatValue (node-internal:internal_inspect:813:49)
    at inspect (node-internal:internal_inspect:397:12)
    at formatWithOptionsInternal (node-internal:internal_inspect:2229:44)
    at formatWithOptions (node-internal:internal_inspect:2093:12))>
@anonrig anonrig added the webgpu label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant