[Freeswitch-users] [ERR] helloworld.js:8 Exception: ReferenceError: File is not defined

Peter Olsson peter at olssononline.se
Fri Jun 10 16:41:46 MSD 2016


As referenced here, "File" is not available in mod_v8.

https://freeswitch.org/confluence/display/FREESWITCH/JavaScript

/Peter

2016-06-09 20:28 GMT+02:00 Aqs Younas <aqsyounas at gmail.com>:

> Greetings list.
>
> I am getting below error when i am trying open a file in mod_v8.
>
> 2016-06-02 01:40:44.908007 [ERR] helloworld.js:8 Exception:
> ReferenceError: File is not defined (near: "        fd = new
> File(baseFolder + "/" + menuId + ".json");")
>
> Any pointer is much appreciated
>
> Thanks.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160610/5e513ef7/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list