Closed singh05 closed 1 year ago
Describe the bug After running tamagui upgrade, yarn web or yarn dev starts to throw error:
nextjs:dev: Error: No parent manager given nextjs:dev: at new ThemeManager (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/helpers/ThemeManager.js:46:15) nextjs:dev: at createState (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:195:15) nextjs:dev: at useReducer (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5079:57) nextjs:dev: at Object.useState (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5017:10) nextjs:dev: at useState (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react/cjs/react.development.js:1622:21) nextjs:dev: at useChangeThemeEffect (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:155:65) nextjs:dev: at useThemeWithState (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:53:24) nextjs:dev: at eval (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/createComponent.js:186:62) nextjs:dev: at renderWithHooks (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5658:16) nextjs:dev: at renderForwardRef (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5842:18) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6005:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5971:9) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderNode (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12) nextjs:dev: at renderChildrenArray (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6211:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6141:7) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderMemo (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5868:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6011:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderNode (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12) nextjs:dev: at renderChildrenArray (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6211:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6141:7) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: Trace nextjs:dev: at new ThemeManager (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/helpers/ThemeManager.js:45:17) nextjs:dev: at createState (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:195:15) nextjs:dev: at useReducer (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5079:57) nextjs:dev: at Object.useState (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5017:10) nextjs:dev: at useState (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react/cjs/react.development.js:1622:21) nextjs:dev: at useChangeThemeEffect (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:155:65) nextjs:dev: at useThemeWithState (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:53:24) nextjs:dev: at eval (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/createComponent.js:186:62) nextjs:dev: at renderWithHooks (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5658:16) nextjs:dev: at renderForwardRef (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5842:18) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6005:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5971:9) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderNode (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12) nextjs:dev: at renderChildrenArray (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6211:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6141:7) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderMemo (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5868:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6011:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderNode (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12) nextjs:dev: at renderChildrenArray (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6211:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6141:7) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: Error: No parent manager given nextjs:dev: at new ThemeManager (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/helpers/ThemeManager.js:46:15) nextjs:dev: at createState (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:195:15) nextjs:dev: at useReducer (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5079:57) nextjs:dev: at Object.useState (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5017:10) nextjs:dev: at useState (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react/cjs/react.development.js:1622:21) nextjs:dev: at useChangeThemeEffect (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:155:65) nextjs:dev: at useThemeWithState (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:53:24) nextjs:dev: at eval (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/createComponent.js:186:62) nextjs:dev: at renderWithHooks (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5658:16) nextjs:dev: at renderForwardRef (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5842:18) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6005:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5971:9) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderNode (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12) nextjs:dev: at renderChildrenArray (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6211:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6141:7) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderMemo (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5868:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6011:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderNode (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12) nextjs:dev: at renderChildrenArray (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6211:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6141:7) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: error - ../node_modules/@tamagui/web/dist/cjs/helpers/ThemeManager.js (46:0) @ new ThemeManager nextjs:dev: error - Error: No parent manager given nextjs:dev: at new ThemeManager (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/helpers/ThemeManager.js:46:15) nextjs:dev: at createState (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:195:15) nextjs:dev: at useReducer (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5079:57) nextjs:dev: at Object.useState (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5017:10) nextjs:dev: at useState (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react/cjs/react.development.js:1622:21) nextjs:dev: at useChangeThemeEffect (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:155:65) nextjs:dev: at useThemeWithState (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:53:24) nextjs:dev: at eval (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/createComponent.js:186:62) nextjs:dev: at renderWithHooks (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5658:16) nextjs:dev: at renderForwardRef (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5842:18) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6005:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5971:9) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderNode (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12) nextjs:dev: at renderChildrenArray (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6211:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6141:7) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderMemo (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5868:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6011:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderNode (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12) nextjs:dev: at renderChildrenArray (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6211:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6141:7) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) { nextjs:dev: page: '/' nextjs:dev: } nextjs:dev: null nextjs:dev: error - ../node_modules/@tamagui/web/dist/cjs/helpers/ThemeManager.js (46:0) @ new ThemeManager nextjs:dev: error - Error: No parent manager given nextjs:dev: at new ThemeManager (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/helpers/ThemeManager.js:46:15) nextjs:dev: at createState (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:195:15) nextjs:dev: at useReducer (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5079:57) nextjs:dev: at Object.useState (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5017:10) nextjs:dev: at useState (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react/cjs/react.development.js:1622:21) nextjs:dev: at useChangeThemeEffect (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:155:65) nextjs:dev: at useThemeWithState (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/hooks/useTheme.js:53:24) nextjs:dev: at eval (webpack-internal:///../../node_modules/@tamagui/web/dist/cjs/createComponent.js:186:62) nextjs:dev: at renderWithHooks (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5658:16) nextjs:dev: at renderForwardRef (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5842:18) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6005:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5971:9) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderNode (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12) nextjs:dev: at renderChildrenArray (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6211:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6141:7) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderIndeterminateComponent (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5785:7) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5946:7) nextjs:dev: at renderMemo (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5868:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6011:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderNode (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6259:12) nextjs:dev: at renderChildrenArray (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6211:7) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6141:7) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) nextjs:dev: at renderContextProvider (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:5920:3) nextjs:dev: at renderElement (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6017:11) nextjs:dev: at renderNodeDestructiveImpl (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6104:11) nextjs:dev: at renderNodeDestructive (/Users/prsingh/Workspace/experiments/astroeasy-cua/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6076:14) { nextjs:dev: page: '/' nextjs:dev: }
I was able to resolve this by removing node_modules, yarn.lock. re-installing, then running the yarn upgrade:tamagui
command
node_modules
and yarn.lock
are generated at install time. If deleting those and re-installing works, I consider this a bug that can be safely closed.
That being said, there is something to be said for bumping the module versions.
@singh05 Tamagui has been upgraded. If the issue persists let me know and I will reopen this.
Describe the bug After running tamagui upgrade, yarn web or yarn dev starts to throw error: