blitz-js / next-superjson-plugin

SuperJSON Plugin for Next.js Pages and Components
198 stars 13 forks source link

Segmentation fault #46

Closed nehalist closed 1 year ago

nehalist commented 1 year ago

Verify Next.js canary release

Describe the bug

I've installed a clean Next.js using TypeScript:

After installing the plugin I receive

Segmentation fault (core dumped)

As soon as I open the app.

I'm not really sure if this is related to #34, but I got a lot of thread panics while using TypeScript path aliases. After getting rid of them the said error remains.

Expected behavior

It shouldn't die.

Reproduction link

https://github.com/nehalist/next-superjson-plugin-issue

Version

0.4.8

Config

No response

Additional context

No response

orionmiz commented 1 year ago

@nehalist Please use Next.js canary version.

npm install next@canary
yarn add next@canary
pnpm add next@canary

That reproduction from link uses v12.3.1, not canary.

sk-shishi commented 1 year ago

I'm having this problem with next.js 13.2.4. Removing next-superjson-plugin from swcPlugins and it's working again.