简体   繁体   中英

Chrome Javascript Console Stopped Working

I am working on a meteor.js app and I am using Session.set and Session.get to pass data along. Now last night my app was working just fine but this morning none of it seems to be working. And whenever i try to get a session from the chrome console it just prints out whatever I typed with out giving any messages or any data.

Ex: Session.get("min-distance-query");

just prints out: Session.get("min-distance-query");

I also have functions to get my lon/lat coords Geolocation.latLng(); which was working as well before I went to bed and this morning it is also not working.

And again it does the same thing in the console when I try to run the function in there. It just prints out Geolocation.latLng(); where it used to print out an object with a lng/lat value in it.

Has any one experienced this before?

Thanks to Niloct I have been able to get the console to function as expected.

As he mentioned in the comments I just had to reinstall chrome and it began working again.

NOTE: the Gelocation.lngLat(); function is apparently not working because of an unrelated issue regarding chrome. A stack overflow post about this issue can be found here: Chrome navigator.geolocation.getCurrentPosition() error 403

Hopefully it will get resolved soon.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM