Can you check the “type” part in the package.json file? If the type part is module, you will get this error. You have to make it Commonjs.
Can you check the “type” part in the package.json file? If the type part is module, you will get this error. You have to make it Commonjs.