@ankimcp/anki-mcp-server 0.12.1-beta.1 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +19 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -73,7 +73,7 @@ Just tell Claude where the image is, and it will handle the upload automatically
73
73
  ## Prerequisites
74
74
 
75
75
  - [Anki](https://apps.ankiweb.net/) with [AnkiConnect](https://github.com/FooSoft/anki-connect) plugin installed
76
- - Node.js 20+
76
+ - Node.js 20.19.0+
77
77
 
78
78
  ## Installation
79
79
 
@@ -389,6 +389,24 @@ For a comprehensive list of known issues and limitations, please visit our docum
389
389
 
390
390
  For more details and other known issues, see the [full documentation](https://ankimcp.ai/docs/known-issues/).
391
391
 
392
+ ## Troubleshooting
393
+
394
+ ### ERR_REQUIRE_ESM Error
395
+
396
+ If you see an error like:
397
+ ```
398
+ Error [ERR_REQUIRE_ESM]: require() of ES Module not supported
399
+ ```
400
+
401
+ This means your Node.js version is too old. The server requires **Node.js 20.19.0 or later**.
402
+
403
+ **Check your version:**
404
+ ```bash
405
+ node --version
406
+ ```
407
+
408
+ **Solution:** Update Node.js to version 20.19.0 or later. You can download it from [nodejs.org](https://nodejs.org/) or use a version manager like [nvm](https://github.com/nvm-sh/nvm).
409
+
392
410
  ## Development
393
411
 
394
412
  ### Transport Modes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankimcp/anki-mcp-server",
3
- "version": "0.12.1-beta.1",
3
+ "version": "0.12.1",
4
4
  "description": "Model Context Protocol server for Anki - enables AI assistants to interact with your Anki flashcards",
5
5
  "author": "Anatoly Tarnavsky",
6
6
  "private": false,
@@ -152,7 +152,7 @@
152
152
  "forceExit": true
153
153
  },
154
154
  "engines": {
155
- "node": ">=20"
155
+ "node": ">=20.19.0"
156
156
  },
157
157
  "repository": {
158
158
  "type": "git",