Open gisarunpandian opened 3 years ago
I got past this by installing webpack (version 4)
npm i webpack@4.46.0
Facing strange issues with react-storefront, Not really as fast as they advertise. Configuration takes a ton of time. I literally spent hours trying to fix the webpack issue.
Most notorious one Next (node:80537) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Next (node:80537) UnhandledPromiseRejectionWarning: TypeError: Invalid value used as weak map key at WeakMap.set (<anonymous>)
@NeonMando158 You have to install webpack v4.
Bug report
I am using MacOs 11.2.1 and I have tried to install / run and deploy react-storefront using several methods. All have failed me.
Describe the bug
I used standard MacoS NodeJS v12.18.3, NPM v6.14.6. and I ran the commands from the docs:
npm install npm start or npm run build
When I run npm start I am presented with the following error:
Expected behavior
The site is supposed to start on localhost:3000 .
Screenshots
System information
Additional context
Add any other context about the problem here.