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

Update Next.js template and node version to suport next.js app router template #1104

Open
1 of 2 tasks
Innei opened this issue Mar 13, 2024 · 3 comments
Open
1 of 2 tasks
Labels

Comments

@Innei
Copy link

Innei commented Mar 13, 2024

Tell us how you think we can improve Sandpack

Packages affected

  • sandpack-client
  • sandpack-react

What is this feature?

For now, I can not use next.js version ^v14. Got You are using Node.js 16.15.1. For Next.js, Node.js version >= v18.17.0 is required.

Please update nodejs version or provide the latest nextjs version template

CleanShot 2024-03-13 at 5  30 04@2x

My code.

 <SandpackSC
        template="nextjs"
        options={{
          activeFile: 'src/app/og/route.tsx',
          ...options,
        }}
        customSetup={{
          dependencies: {
            next: '^14',
          },
        }}
        files={{
          'src/app/og/route.tsx':
            require('!!raw-loader!../code/og-remote-font.raw.tsx').default,
        }}
      />

How would your idea work?

Do you have any examples of how you would like to see us implement it?

@Innei Innei added the triage New issues that needs consideration label Mar 13, 2024
@cameronking4
Copy link

I'm facing same issue

@danilowoz danilowoz added nodebox and removed triage New issues that needs consideration labels Aug 20, 2024
@theshadowagent
Copy link

I have the same issue. Nodebox is not working at all for my next project

@kulkarniankita
Copy link

same issue, do we have any updates here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants