Skip to content

Conversation

@saranganet
Copy link

Change named import to default import for node:assert in docs-next/src/content/docs/getting-started.mdx to match Node’s default export and avoid runtime error.

- Change from named import to default import
- Fix: import { assert } from 'node:assert' → import assert from 'node:assert'
- Resolves incorrect syntax that causes runtime error

The node:assert module exports assert as a default export, not a named export.
Using named import syntax causes: SyntaxError: The requested module 'node:assert'
does not provide an export named 'assert'.
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 5, 2025

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: saranganet / name: Soham Saranga (fe68687)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant