Using Puppeteer in updated version
Unanswered
Whiteleg shrimp posted this in #help-forum
Whiteleg shrimpOP
Hi, have anyone archive to run puppeteer in NextJS and Vercel and Turborepo? I know there are many example in the internet but none of them seems to work. Also, they don't include the versions so I can't replicate it
4 Replies
@Whiteleg shrimp Hi, have anyone archive to run puppeteer in NextJS and Vercel and Turborepo? I know there are many example in the internet but none of them seems to work. Also, they don't include the versions so I can't replicate it
Nextjs is a serverless framework, and I don't think its a good idea to use puppeteer in it
you can use something like browserbase
or roll a VM and create a authenticated api so you can interact with your nextjs backend.
I would not recommend using puppeteer directly in nextjs
I would not recommend using puppeteer directly in nextjs
@Whiteleg shrimp solved?