cloudinary / cloudinary_angular

Cloudinary Angular client library
MIT License
305 stars 228 forks source link

Get this error in production TypeError: Cannot read property 'CloudinaryJQuery' of null TypeError: Cannot read property 'CloudinaryJQuery' of null #242

Closed MarvinBanguero closed 4 years ago

MarvinBanguero commented 4 years ago

image image

Help me please I be worry :(

michalkcloudinay commented 4 years ago

Hi @MarvinBanguero please refer to this issue: https://github.com/cloudinary/cloudinary_angular/issues/92

MarvinBanguero commented 4 years ago

Thank you, me serve but for angular-5.x must be export the variable config image image

rebeccapeltz commented 4 years ago

If you're having trouble with the config, make sure that you've created a config file that holds your configuration. It should be named config.ts and be in the same directory as the app.module.ts. See this for an example of importing it at line 6 https://github.com/cloudinary/cloudinary_angular/blob/master/samples/angular-cli-sample/src/app/app.module.ts It should look like this with your cloud name and upload preset:

export default {
    cloud_name: 'CCCCCCC',
    upload_preset: 'UUUUUUUU'
};
MarvinBanguero commented 4 years ago

Hi Rebbeccca, thank you it's work.

El mar., 17 dic. 2019 a las 18:24, Rebeccca Peltz (notifications@github.com) escribió:

If you're having trouble with the config, make sure that you've created a config file that holds your configuration. It should be named config.ts and be in the same directory as the app.module.ts. See this for an example of importing it at line 6

https://github.com/cloudinary/cloudinary_angular/blob/master/samples/angular-cli-sample/src/app/app.module.ts It should look like this with your cloud name and upload preset:

export default { cloud_name: 'CCCCCCC', upload_preset: 'UUUUUUUU' };

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cloudinary/cloudinary_angular/issues/242?email_source=notifications&email_token=ANASEMDOKQYRTDY6UYJMOF3QZFNSRA5CNFSM4J254TJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHEJTWA#issuecomment-566794712, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANASEMCXHPG7FH4YKXKTUSDQZFNSRANCNFSM4J254TJA .