woo-next icon indicating copy to clipboard operation
woo-next copied to clipboard

Error: localStorage is not defined

Open vstrelianyi opened this issue 4 years ago • 5 comments
trafficstars

I'm starting a project with

  • yarn dev

When opening browser -localhost:3000 I'm receiving an error -

Error: localStorage is not defined ... Call Stack new ApolloError file:///D:/LocalSites/woo-next-react/frontend/node_modules/@apollo/client/errors/errors.cjs.js (31:28)

It seems that some code that runs on server asks for localStorage

vstrelianyi avatar Apr 22 '21 10:04 vstrelianyi

Experiencing this as well

csellis avatar Apr 26 '21 08:04 csellis

same error here :)

kasperbirch1 avatar Apr 27 '21 16:04 kasperbirch1

Use the supplied versions of the wordpress plugins, that fixed this error for me.

darkcherrycreative avatar May 03 '21 16:05 darkcherrycreative

same here :/

tzdigital avatar May 07 '21 16:05 tzdigital

I have made the udpates please please pull the latest changes from master and test https://github.com/imranhsayed/woo-next/releases/tag/v2.1.0 Live Demo: https://woo-next-imranhsayed.vercel.app/

imranhsayed avatar May 08 '21 17:05 imranhsayed