Polyfill error when trying to use cloudinary js sdk
jayshortxtee
Member Posts: 1 ✭
Hi, I'm trying to implement the cloudinary js sdk into my app and I'm receiving multiple errors that say
Module not found: Error: Can't resolve xxxx in '…/node_modules/cloudinary/lib/api_client'BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
I've tried the solution in this thread below:
https://community.cloudinary.com/discussion/comment/645#Comment_645?utm_source=community-search&utm_medium=organic-search&utm_term=webpack
by installing and using node-polyfill-webpack-plugin but i still receive those errors.
I'm also receiving one error that does not involve the polyfill:
Module not found: Error: Can't resolve 'fs' in …
Any help would be appreciated.
Tagged:
0