Skip to content

Commit 148da99

Browse files
authored
Add windows file path instruction
1 parent 2389200 commit 148da99

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ I was having some trouble parsing PDFs in Next.js, so I thought I would make thi
1313
3. **Navigate to the project directory**:
1414
4. `cd nextjs-pdf-parser`
1515
5. **Install dependencies**:
16-
6. ```bash
16+
6. Windows only: In `app\api\upload\route.ts` on line 22, change `tempFilePath` to a valid path. Make sure it starts from the root drive, for example: `C:/coding/nextjs-pdf-parser/public/${fileName}.pdf`
17+
7. ```bash
1718
npm install
1819
# or
1920
yarn install
2021
```
21-
7. **Run the development server**:
22+
8. **Run the development server**:
2223

2324
```bash
2425
npm run dev

0 commit comments

Comments
 (0)