Closed Alain1405 closed 6 months ago
The command provided in the readme leads to an error. If I run npm create @shopify/hydrogen@latest -- --template demo-store I get:
npm create @shopify/hydrogen@latest -- --template demo-store
ERROR Cannot read properties of null (reading 'useCallback') /Users/alainscialoja/.npm/_npx/e1eac94ad41cc36f/node_modules/@shopify/cli-kit/node_modules/react/cjs/react.development.js:1646:21 1643: } 1644: function useCallback(callback, deps) { 1645: var dispatcher = resolveDispatcher(); 1646: return dispatcher.useCallback(callback, deps); 1647: } 1648: function useMemo(create, deps) { 1649: var dispatcher = resolveDispatcher();
Here's a screenshot:
The command provided in the readme leads to an error. If I run
npm create @shopify/hydrogen@latest -- --template demo-store
I get:Here's a screenshot: