cancel
Showing results for 
Search instead for 
Did you mean: 

My script is working on development mode but not on production mode

Highlighted

My script is working on development mode but not on production mode

Hello,

 

I have added my custom script in footer 

<script async src='https://cdnfrontend.s3.ap-south-1.amazonaws.com/CDN/cheerme-prod/cheerme.min.js' charset='utf-8'></script>

 

That script is working on development mode,

but not on production mode it gives error

Uncaught Error: Script error for: buoy
http://requirejs.org/docs/errors.html#scripterror

Uncaught TypeError: Cannot read property 'init' of undefined

 

Why it is working on development mode not on production mode?

1 REPLY 1
Highlighted

Re: My script is working on development mode but not on production mode