const puppeteer = require('puppeteer'); ReferenceError: require is not defined in ES module scope #744
Replies: 3 comments
-
Hi, So you can change it to In that case you can rename your Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
Excellent this is worked for me 👍❤ |
Beta Was this translation helpful? Give feedback.
-
Fixed now because my PR got accepted: Make sure to update the package. |
Beta Was this translation helpful? Give feedback.
-
Hi.
I installed node and puppeteer in debian 11. Then install laravel 10 and browsershot.
when i run page i got this error:
Beta Was this translation helpful? Give feedback.
All reactions