Monaca Onsen UI Discord Chat Github Repo

cordova windows 8 visual studio - builtIn.remove dont get call property of null or undefined



  • Building succeeded but OnsenUi error on open and run app:

    ### Dont get call property of null or undefined reference.
    I dont have experience with builds for windows. Some idea?

    OnsenUi doc says that the browser support is only to Android 4.4.4+, iOS 9+, Chrome and Safari. Cordova Windows platform is a internet explorer or edge webview rigth? Maybe this is problem?

    Monaca 3.1.0
    OnsenUi 2.10.6
    Cordova 8.1.2 with Cordova Windows platform 6.0.1
    Run Windows 8.1 (Debug x64 local machine) on Visual Studio 2015 installed on Windows 10

    SCRIPT5007: Unhandled exception at line 11195, column 5 in ms-appx://br.com.tiempresarial.ticorporativo/www/lib/onsenui/js/onsenui.js
    0x800a138f - Erro em tempo de execução do JavaScript: Não é possível obter a propriedade 'call' de referência indefinida ou nula
    

    Visual Studio Output:

    WWAHost.exe' (Script): Loaded 'Script Code (MSAppHost/2.0)'. 
    Invalid sourcemap url data:application/json;charset=utf-8;base64,
    0x800a01b6 - Erro em tempo de execução do JavaScript: O objeto não oferece suporte à propriedade ou método 'entries'
    Exception was thrown at line 9293, column 5 in ms-appx://br.com.tiempresarial.ticorporativo/www/lib/onsenui/js/onsenui.js
    0x800a01b6 - Erro em tempo de execução do JavaScript: O objeto não oferece suporte à propriedade ou método 'entries'
    Unhandled exception at line 11195, column 5 in ms-appx://br.com.tiempresarial.ticorporativo/www/lib/onsenui/js/onsenui.js
    0x800a138f - Erro em tempo de execução do JavaScript: Não é possível obter a propriedade 'call' de referência indefinida ou nula
    

    onsenui-error.png

    ### On debug see all builtIn propertys are undefined:

    onsenui-error2.png

    builtIn.remove is loaded with Native object, where are window object:

    Element_remove: window.Element.prototype['remove']


  • administrators

    I’m not sure what’s going on here, but I don’t think it’s a problem with Onsen UI necessarily. I would guess that it’s to do with the webview used by Cordova Windows not supporting some browser features, like you said. But I’m not sure.

    Is there any way you could change the error messages in Visual Studio to English? That would help a lot.