cordova - Ripple Emulator / Chrome Browser closing when I attempt to open developer tools -
i trying use ripple inside visual studio 2015 debug app. want view local storage, when open developer tools, chrome closes , javascript console displays error:
the source map 'angular-sanitize.min.js.map' file 'mdha:http://code.ionicframework.com/1.0.0-rc.5/js/ionic.bundle.min.js' not read specified location due error 'exception of type 'typescriptsourcemapreader.sourcemapreadfailedexception' thrown.'.the source map using unsupported formatthe source map using unsupported formatthe source map using unsupported format
how can rid of error?
edit
i created new project using file->new project->javascript->apache cordova apps->ionic tabs app. presented dialog:
your project uses version of typescript older version installed visual studio. may errors if try build project. upgrade typescripttoolsversion in project file don't see warning again?
answer "no" , problem had occurs. answer "yes" , doesn't.....so guess need figure out how visual studio give me dialog again, or work out how change manually....
edit 2 tried this:
- right click on project -> unload
- right click again -> edit myproject.jsproj
- changed
<typescripttoolsversion>1.4</typescripttoolsversion>
1.6
no luck yet...
edit 3 realised message regarding source map 'angular-sanitize.min.js.map' not being read displayed when close browser window, not when crashes. message not particular issue.
edit 4 copied app new, working project created using ionic tabs app , still problem. 2 different root causes.
i'm sorry trouble. there bug in visual studio 2015 vs close chrome if debugging , chrome dev tools brought up. reason happens because dev tools send disconnect signal debugger attached, , @ moment vs interprets message sign chrome has closed, exits process.
we have fix coming out in future cordova update (it slated update 4 should in few weeks). in meantime, can around issue launching ripple vs without debugger attached. can either pressing ctrl + f5, or clicking menu item:
thanks again reporting issue! please note - other issues unrelated chrome closing. should benign.
** update 11/3/2015 ** released update 4 fixes problem. please let me know if still run problems.
Comments
Post a Comment