-
So, basically, my MCP was working wonderfully until today, when I was trying to use to find some items for me in my DB, when I started getting these persistent "crypto not defined" errors whenever using the execute_sql tool. Here is an example:
Historically, these commands would work with no issue. But now, suddenly, they don't. I'm using claude code and running node v18.20.5. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
same issue here 'Error: {"error":{"name":"ReferenceError","message":"crypto is not defined"}}' |
Beta Was this translation helpful? Give feedback.
-
Wait, the problem was the node version. Just upgrade to > 20. This resolved that above mentioned issue for me! |
Beta Was this translation helpful? Give feedback.
-
I’m on v22.9.0 and still encountering this error. Could this be an internal bug in your MCP server? |
Beta Was this translation helpful? Give feedback.
-
V22 worked for me. |
Beta Was this translation helpful? Give feedback.
-
I am also facing the same issue. I am using node version 22.14 and it used to work few days ago. I tried @vahidkowsari 's solution, but didn't work for me |
Beta Was this translation helpful? Give feedback.
Wait, the problem was the node version. Just upgrade to > 20. This resolved that above mentioned issue for me!