Lesson 10: Nextjs-smartcontract-lottery hosting error on fleek #5416
-
Repo : This is my code repository that I have made while following along this lesson, but I am getting an error while hosting on fleek which is as follows:
"next": "^13.3.2",
"node": "^19.8.1", I suspect that the error lies in my package.json and the above is a segment from it, but I have tried updating my packages to no avail. Could someone help me debug this, it would be a huge help, thanks!. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
You can see the error in the message itself that - The engine "node" is incompatible with this module. Expected version ">=16.8.0". Got "16.4.2" Check your node version using - node --version |
Beta Was this translation helpful? Give feedback.
-
Are you getting the same error with the new version? Because earlier it was 16.4.2 according to error. |
Beta Was this translation helpful? Give feedback.
-
@shy-orpheus delete the node_modules folder, yarn.lock and package-lock.json files and reinstall dependencies. |
Beta Was this translation helpful? Give feedback.
@shy-orpheus delete the node_modules folder, yarn.lock and package-lock.json files and reinstall dependencies.