HamishMW / portfolio

My personal portfolio website built using React and three js
https://hamishw.com
MIT License
2.41k stars 519 forks source link

ReferenceError: crypto is not defined #69

Open deveshlashkari opened 6 months ago

deveshlashkari commented 6 months ago

First of all thanks for this amazing project. I have installed the node_modules, and run: npm run dev and I am facing this error:

Screenshot 2024-02-27 at 4 34 59 PM

Any help would be much appreciated. Thanks

eunjin0212 commented 6 months ago

I have the same error, how did you fix it?

tushar-rupani commented 6 months ago

My node version is v18.17.0 and I am facing the same issue.

HamishMW commented 6 months ago

Looks like you need to be on node 19+ to access crypto from Remix's dev server. I'll update the readme to specify node 19 instead of 18 like it does currently.