Closed applecat closed 10 years ago
I'll double check the code, are you sure there isn't something else causing it on your side?
Hmm.., I'll check this now by running a completely new project only with cloudinary package.
In new clean project everything is ok... I will look for the issue in my project.
Problem was with form
tag around my form fields. Now it remover and every thing is ok.
PS. Thank you for this useful package =)
Lol, no problem @applecat. I'm glad everything is working out for you ^_^
I have the same issue, only with 1 particular image, which is size 3.9MB. I'm using the free account for now. Is this a limitation?
RangeError: Maximum call stack size exceeded
at String.match (native)
at RegExp.<anonymous> (/Users/oriharel/reversim/reversim-summit-2016/node_modules/babel-cli/node_modules/babel-polyfill/node_modules/core-js/modules/_fix-re-wks.js:25:39)
at String.match (/Users/oriharel/reversim/reversim-summit-2016/node_modules/babel-cli/node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.match.js:8:34)
at /Users/oriharel/reversim/reversim-summit-2016/node_modules/cloudinary/lib/uploader.js:67:34
at call_api (/Users/oriharel/reversim/reversim-summit-2016/node_modules/cloudinary/lib/uploader.js:398:22)
at Object.exports.upload (/Users/oriharel/reversim/reversim-summit-2016/node_modules/cloudinary/lib/uploader.js:64:12)
at uploadProfilePicture (users.js:92:23)
See this in console in 5 seconds after image upload:
My template:
Config: