portfolio icon indicating copy to clipboard operation
portfolio copied to clipboard

ReferenceError: crypto is not defined

Open deveshlashkari opened this issue 11 months ago • 3 comments

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

deveshlashkari avatar Feb 27 '24 11:02 deveshlashkari

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

eunjin0212 avatar Feb 28 '24 13:02 eunjin0212

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

tushar-rupani avatar Mar 02 '24 06:03 tushar-rupani

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.

HamishMW avatar Mar 03 '24 23:03 HamishMW