chec / commercejs-nextjs-demo-store

Commerce demo store built for the Jamstack. Built with Commerce.js, Next.js, and can be one-click deployed to Netlify. Includes product catalog, customer login, categories, variants, cart, checkout, payments (Stripe) order confirmation, and printable receipts.
https://commercejs-demo-store.netlify.app/
BSD 3-Clause "New" or "Revised" License
1.07k stars 206 forks source link

Error in run dev #192

Closed talmax1124 closed 3 years ago

talmax1124 commented 3 years ago

TypeError: Cannot read property 'tap' of undefined at /Users/carlitos/Joannie-Store/node_modules/@next/react-refresh-utils/ReactRefreshWebpackPlugin.js:100:61 at SyncHook.eval [as call] (eval at create (/Users/carlitos/Joannie-Store/node_modules/next/node_modules/tapable/lib/HookCodeFactory.js:19:10), :7:1) at SyncHook.lazyCompileHook (/Users/carlitos/Joannie-Store/node_modules/next/node_modules/tapable/lib/Hook.js:154:20) at Compiler.newCompilation (/Users/carlitos/Joannie-Store/node_modules/next/node_modules/webpack/lib/Compiler.js:631:26) at /Users/carlitos/Joannie-Store/node_modules/next/node_modules/webpack/lib/Compiler.js:667:29 at AsyncSeriesHook.eval [as callAsync] (eval at create (/Users/carlitos/Joannie-Store/node_modules/next/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1) at AsyncSeriesHook.lazyCompileHook (/Users/carlitos/Joannie-Store/node_modules/next/node_modules/tapable/lib/Hook.js:154:20) at Compiler.compile (/Users/carlitos/Joannie-Store/node_modules/next/node_modules/webpack/lib/Compiler.js:662:28) at /Users/carlitos/Joannie-Store/node_modules/next/node_modules/webpack/lib/Watching.js:77:18 at AsyncSeriesHook.eval [as callAsync] (eval at create (/Users/carlitos/Joannie-Store/node_modules/next/node_modules/tapable/lib/HookCodeFactory.js:33:10), :15:1)

talmax1124 commented 3 years ago

Already did what it said but no luck

talmax1124 commented 3 years ago

Is there a solution? @robbieaverill ?

robbieaverill commented 3 years ago

Hi @talmax1124, sorry for the late reply. Can you please explain what you've done in order to produce this issue, as well as the version of node you're using?

When I run yarn dev in this project on my machine I do not get this error. I'm using v12.20.0