-
AuthorPosts
-
January 14, 2018 at 7:14 am #5872
Mahesh PrabhuParticipantI get the following (see screenshot) error everytime I run “Ionic Serve” command.
https://drive.google.com/file/d/1oogUJa4eiIo__oix4U_guXDesdBWH6p4/view
January 15, 2018 at 5:47 am #5877
AlexKeymasterPlease try adding this chrom extension and check this issue again .
refer : https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=enAlso check if all packages are installed ?
refer this unit : https://wplms.io/unit/installing-app-packages/January 16, 2018 at 12:29 pm #5898
Mahesh PrabhuParticipantDid installed the said Chrome extension and reinstalled the same with said commands.
Now I can’t even find my courses in the app. Only default courses load. Did also went to config.ts and checked for setting. All is fine here.
Any idea why this may be happening?
January 17, 2018 at 9:32 am #5919
AlexKeymasterCAn you please share screenshot or the actual error in browser’s console?
January 20, 2018 at 7:03 am #5978
Mahesh PrabhuParticipantSorry for the delayed response. I reinstalled everything and I still get the error (see screenshot 2) and I also wanted to know why do I still get the default courses in the POPULAR COURSES and FEATURED COURSES. Let me know as to how can I change the TITLE in the home page and elsewhere within the app.
https://drive.google.com/file/d/1BljMn0fJ3ZSCkm2RfE6G14dHqGIS2Yrb/view?usp=sharing
https://drive.google.com/file/d/16Atg_Kzl3tOwwsOoKLPOKOzM4z5ILuDb/view?usp=sharing
January 22, 2018 at 6:15 am #6004
AlexKeymasterWell we are not able to replicate this issue at our end with or without the cors extension enabled .
Please make sure that you are using the latest package of wplms ionic app .
If still issue appears then pleas share your whole ionic project folder in zipped format with us to check this out .(upload it somewhere online and share its link here in private reply ).
To show data from your site you need to clear the existing data first .
refer : inspect element and then : http://prntscr.com/i3rsos
January 22, 2018 at 7:58 am #6016
Mahesh PrabhuParticipantThank you for the reply. The clearing data option worked.
I am now unable to login to the system through my app. Any idea why it be so?
Deeply appreciate your help.
January 23, 2018 at 5:39 am #6059
AlexKeymasterWell app has a localstorage .The featured courses section data is stored once app is opened and it does not changes later .So if initially featured courses was not able to load and then it does not show them later then .
Are still facing issues with imagecache error in app ?
January 23, 2018 at 7:50 am #6061
Mahesh PrabhuParticipantI still get a lot of other errors as well when I check other pages. Shall I send you the whole directory zipped? Please confirm will do so.
January 24, 2018 at 6:19 am #6082
AlexKeymasterCan you please share exactly which errors are you facing ?
I tried but it seems your system is on mac or linux . Its not working on windows.
whet you can do is in your project rename “node_modules” folder to “node_modules.bak” and package.json to “package.json.bak” .
Then download package.json file from here : http://bit.ly/2n7mVM7then open terminal or cmd navigate to project folder and simply run this command :
npm install
January 24, 2018 at 7:03 am #6083
Mahesh PrabhuParticipantI don’t get any errors now. Yet I am unable to login to the course from the app with my user name and password – it doesn’t even give any errors.
I use Windows OS. Not Linux or Mac as you misconstrued.
Let me know if you can help me – or let me have my money back. As this is proving to be a big ordeal.
January 24, 2018 at 8:36 am #6086
Mahesh PrabhuParticipantOk. Now I am getting the following error. Let me know if you can help.
Runtime Error
Uncaught (in promise): TypeError: Cannot read property ‘length’ of null TypeError: Cannot read property ‘length’ of null at Object.Helpers.sanitizeURI (http://localhost:8100/build/vendor.js:154736:21) at Object.ImgCache.getCachedFile (http://localhost:8100/build/vendor.js:155382:27) at Object.ImgCache.isCached (http://localhost:8100/build/vendor.js:155421:18) at http://localhost:8100/build/main.js:1239:69 at new t (http://localhost:8100/build/polyfills.js:3:15044) at ImgcacheService.webpackJsonp.161.ImgcacheService.cacheImg (http://localhost:8100/build/main.js:1237:16) at LazyLoadDirective.webpackJsonp.542.LazyLoadDirective.ngOnInit (http://localhost:8100/build/main.js:5313:30) at checkAndUpdateDirectiveInline (http://localhost:8100/build/vendor.js:11175:19) at checkAndUpdateNodeInline (http://localhost:8100/build/vendor.js:12598:17) at checkAndUpdateNode (http://localhost:8100/build/vendor.js:12537:16)
</div>
Stack
Error: Uncaught (in promise): TypeError: Cannot read property ‘length’ of null TypeError: Cannot read property ‘length’ of null at Object.Helpers.sanitizeURI (http://localhost:8100/build/vendor.js:154736:21) at Object.ImgCache.getCachedFile (http://localhost:8100/build/vendor.js:155382:27) at Object.ImgCache.isCached (http://localhost:8100/build/vendor.js:155421:18) at http://localhost:8100/build/main.js:1239:69 at new t (http://localhost:8100/build/polyfills.js:3:15044) at ImgcacheService.webpackJsonp.161.ImgcacheService.cacheImg (http://localhost:8100/build/main.js:1237:16) at LazyLoadDirective.webpackJsonp.542.LazyLoadDirective.ngOnInit (http://localhost:8100/build/main.js:5313:30) at checkAndUpdateDirectiveInline (http://localhost:8100/build/vendor.js:11175:19) at checkAndUpdateNodeInline (http://localhost:8100/build/vendor.js:12598:17) at checkAndUpdateNode (http://localhost:8100/build/vendor.js:12537:16) at c (http://localhost:8100/build/polyfills.js:3:13535) at c (http://localhost:8100/build/polyfills.js:3:13221) at http://localhost:8100/build/polyfills.js:3:14067 at t.invokeTask (http://localhost:8100/build/polyfills.js:3:9967) at Object.onInvokeTask (http://localhost:8100/build/vendor.js:4500:37) at t.invokeTask (http://localhost:8100/build/polyfills.js:3:9888) at r.runTask (http://localhost:8100/build/polyfills.js:3:5143) at o (http://localhost:8100/build/polyfills.js:3:2203) at XMLHttpRequest.invoke (http://localhost:8100/build/polyfills.js:3:10985)January 25, 2018 at 6:34 am #6254
AlexKeymasterWell now your environment and my environment is same . Im not facing this error with your src folder in app .
refer : http://prntscr.com/i59liwI am running it on chrome ,can you please try this in chrome.
This error might be appearing because of access not control origin restriction set in browser .due to this image cache plugin is not able to download the image from external url and save it on machine .
Hence generating this js error .
-
AuthorPosts
- You must be logged in to reply to this topic.