Lesson 5 (TypeError: Cannot read properties of undefined (reading 'toHexString')) #5179
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
@alymurtazamemon sir please see this issue |
Beta Was this translation helpful? Give feedback.
-
@harsh-na You should use the bash terminal to run this command to pass the password. |
Beta Was this translation helpful? Give feedback.
-
@harsh-na ADD require("dotenv").config() at the top if you have not already. Or it might be that you've edited the .env file and forgotten to save it. Hence the script won't see the new entry. |
Beta Was this translation helpful? Give feedback.
-
I encountered the same error today. And this is what worked for me: I changed the following code in deploy.js:
to this:
And AWESOME! IT WORKED!! |
Beta Was this translation helpful? Give feedback.
@harsh-na You should use the bash terminal to run this command to pass the password.