Closed t83714 closed 5 months ago
Magda SDK can probably add "@types/node": "^18.19.3" to the dependencies
of SDK to reduce the chance of seeing this issue.
However, this solution might not be desired as the users might prefer a different & higher version of "@types/node".
Therefore, no fix will be done in Magda SDK. The user should add a proper version of @types/node to his project package.json by himself.
Describe the bug
When using one of Magda SDK v3 to build a minion, connector or auth plugin, users might come across this error:
This is caused by an incompatible version of
@types/node
(e.g. v16 might be resoluted installed).User can add "@types/node": "^18.19.3" to devDependencies of package.json to resolve this issue.