styled-qr-code icon indicating copy to clipboard operation
styled-qr-code copied to clipboard

`fs` module not found

Open Akhilbisht798 opened this issue 2 years ago • 2 comments

Hey, I have been working on this project it uses

  • next.js
  • node version 18.16.1

I have been getting this issue. Screenshot from 2023-08-20 21-45-00

Only on just importing. import { QRCodeCanvas } from "@loskir/styled-qr-code-node";

Akhilbisht798 avatar Aug 20 '23 16:08 Akhilbisht798

for those who didn't find the solution, try using styled-qr-code module on front-end

sa-od avatar Jan 05 '24 10:01 sa-od

for those who didn't find the solution, try using styled-qr-code module on front-end

Wasn't the fork made specifically for node? If you want to use the module on front-end, use the actual library, and not the fork

AlbaneseRemy avatar Jan 17 '24 11:01 AlbaneseRemy