I've never encountered this before.
Im using Meteor.js
step 1. meteor npm install cloudinary step 2. in a client side file I import the package import { Cloudinary } from "cloudinary";
when I run meteor locally I get the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'split')
Any ideas?
As what have mentioned by Kelly in his response, you are importing a backend package for your front-end application.
Cloudinary doesn't have an SDK built for Meteor, but you can still use the Javascript SDK.
Here's the documentation for Cloudinary's Javascript SDK: https://cloudinary.com/documentation/javascript_integration