RevereCRE / relay-nextjs

⚡️ Relay integration for Next.js apps
https://reverecre.github.io/relay-nextjs/
MIT License
251 stars 30 forks source link

Example is broken #83

Closed anneau closed 1 year ago

anneau commented 1 year ago

Overview

In my environment, example throw following error.

Server Error
TypeError: _interopRequireDefault is not a function

This error happened while generating the page. Any console logs will be displayed in the terminal window.

In calls tack,

node_modules/relay-runtime/lib/store/RelayStoreUtils.js (14:27)

Reproduce code

git clone git@github.com:RevereCRE/relay-nextjs.git
cd elay-nextjs
yarn
cd relay-nextjs && yarn build -w
cd example && yarn dev

My Environment

yarn version v1.22.19
node version v16.17.1
relay-nextjs v1.0.2

I downgraded to v1.0.0 and it worked but v1.0.2 is broken.

rrdelaney commented 1 year ago

Thanks for letting us know! I'll check this out later today or this week.

rrdelaney commented 1 year ago

Should be fixed now!