scaffold-eth / scaffold-eth-2

Open source forkable Ethereum dev stack
https://scaffoldeth.io
MIT License
1.19k stars 745 forks source link

bug: Not Able to use frames.js in their Next.js Project #877

Closed anuragasawa20 closed 1 week ago

anuragasawa20 commented 3 weeks ago

Is there an existing issue for this?

Which method was used to setup Scaffold-ETH 2 ?

git clone

Current Behavior

In changing the layout.tsx file of next I tried to implement the code of frames.js to creating frame giving me error

image

Expected Behavior

This should be load the layout of frames.jsx as this actually happening in normal next.js enviornment.

Steps To Reproduce

No response

Anything else?

No response

anuragasawa20 commented 3 weeks ago

in layout.tsx when I'm using fetchMetadata import it's giving the error. else it's running.

image
technophile-04 commented 2 weeks ago

Hey @anuragasawa20, could you please provide a minimal reproducible repo link? With cloning the SE-2 and adding frame.js with minmal changes to it?

technophile-04 commented 1 week ago

Closing this for now