'Is there a config or modules to handle react-native-webview for react-native-canvas?

I have been trying to integrate react native canvas in my app.
I followed the instructions exactly in https://www.npmjs.com/package/react-native-canvas.

When I run the app, I got the following error. enter image description here

ATM, I don't have any babel or webpack config files and I am writing an app in Next.js.
Should there be any configs for that or modules to be installed?
I would appreciate any help.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source