- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2020
04:59 AM
07-27-2020
04:59 AM
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?
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2020
06:53 AM
07-27-2020
06:53 AM
Re: My script is working on development mode but not on production mode
Kindly refer below link for your issue:
https://stackoverflow.com/questions/53010304/how-do-fix-cannot-read-property-init-of-undefined-typee...
It may help!
Thank you.
Problem solved? Click Accept as Solution!