Closed EvHaus closed 5 months ago
Yes please!!
Since it's taking so long... I've published a fork on npm. It seems to work: https://www.npmjs.com/package/next-superjson2
Since it's taking so long... I've published a fork on npm. It seems to work: https://www.npmjs.com/package/next-superjson2
Your package is not working in next build
,
Failed to compile
Module not found: Can't resolve 'next-superjson-plugin/tools'
Since it's taking so long... I've published a fork on npm. It seems to work: https://www.npmjs.com/package/next-superjson2
Your package is not working in
next build
,Failed to compile Module not found: Can't resolve 'next-superjson-plugin/tools'
Hi @ZehuaZhang, try adding next-superjson2
to your next.config.ts
Since it's taking so long... I've published a fork on npm. It seems to work: https://www.npmjs.com/package/next-superjson2
Your package is not working in
next build
,Failed to compile Module not found: Can't resolve 'next-superjson-plugin/tools'
Hi @ZehuaZhang, try adding
next-superjson2
to yournext.config.ts
Thanks @s0h311
I did change next-superjson-plugin
to next-superjson2
unfortunately, it's not working. My next version is the latest @14.0.3, not sure if that's related
Hi @ZehuaZhang,
You can add that to your package.json :
{
"dependencies": {
"next-superjson2": "^0.6.1",
"next-superjson-plugin": "./node_modules/next-superjson2",
}
}
Then, you can run npm install
.
With this, next build
works for me.
What about the maintainers.. is there a timeline on when it will be available officially? No rush.. just want to know :)
@orionmiz I will remove the fork published on npm. Could you please release?
Verify Next.js canary release
Describe the bug
Looks like
next-superjson-plugin
isn't compatible with the latestsuperjson@2
release. When doing a Next build it fails with:Expected behavior
No error during build
Reproduction link
No response
Version
next-superjson-plugin@0.5.9 & superjson@2
Config
No response
Additional context
No response