Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextjs turbo mode not working #13

Open
haucongle opened this issue Oct 5, 2023 · 1 comment
Open

Nextjs turbo mode not working #13

haucongle opened this issue Oct 5, 2023 · 1 comment

Comments

@haucongle
Copy link

Hi dev team,

I have just pulled this template
I installed packages using pnpm i
I ran this project using pnpm dev --turbo, the localhost:3000 can access but the style was broken
Can you guide me on how to fix this?
Thanks

@MikeSuiter
Copy link

What do you mean by the style was broken? I run pnpm dev --turbo and the app starts and looks fine.

I can't get it to build though using pnpm and turbo. I get this error.

./app/page.tsx:7:8
Type error: 'Welcome' cannot be used as a JSX component.
  Its type '() => Element' is not a valid JSX element type.
    Type '() => Element' is not assignable to type '(props: any, deprecatedLegacyContext?: any) => ReactNode'.
      Type 'Element' is not assignable to type 'ReactNode'.
        Property 'children' is missing in type 'Element' but required in type 'ReactPortal'.

   5 |   return (
   6 |     <>
>  7 |       <Welcome />
     |        ^
   8 |       <ColorSchemeToggle />
   9 |     </>
  10 |   );
 ELIFECYCLE  Command failed with exit code 1.

irevdev pushed a commit to rvise-au/rvise-ui-library that referenced this issue Mar 27, 2024
irevdev pushed a commit to rvise-au/rvise-ui-library that referenced this issue Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants