sandpack
sandpack copied to clipboard
Update Next.js template and node version to suport next.js app router template
Tell us how you think we can improve Sandpack
Packages affected
- [x] 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
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?
I'm facing same issue
I have the same issue. Nodebox is not working at all for my next project
same issue, do we have any updates here?