mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
docs: add note about node.js 22 requirement
This commit is contained in:
@@ -4,6 +4,7 @@ description: 'Run bknd inside Next.js'
|
||||
---
|
||||
import InstallBknd from '/snippets/install-bknd.mdx';
|
||||
|
||||
|
||||
## Installation
|
||||
To get started with Next.js and bknd you can either install the package manually, and follow the descriptions below, or use the CLI starter:
|
||||
|
||||
@@ -23,10 +24,12 @@ To get started with Next.js and bknd you can either install the package manually
|
||||
</Tabs>
|
||||
|
||||
## Configuration
|
||||
<Warning>
|
||||
When run with Node.js, a version of 22 (LTS) or higher is required. Please verify your version by running `node -v`, and [upgrade](https://nodejs.org/en/download/) if necessary.
|
||||
</Warning>
|
||||
|
||||
Now create a `bknd.config.ts` file in the root of your project. If you created the project using the CLI starter, this file is already created for you.
|
||||
|
||||
|
||||
|
||||
```typescript bknd.config.ts
|
||||
import type { NextjsBkndConfig } from "bknd/adapter/nextjs";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user