Script error: check your browser is allowed to access local files

This topic has been viewed 3915 times and has 1 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
po_oq
Posts: 1
Joined: Sun May 15, 2022 6:29 am
Country: China

Script error: check your browser is allowed to access local files

Post by po_oq »

I built SweetHome3D 6.6.4 with bundle.js which is in j4ts-batik-svgpathparser-1.10.0-20170726 folder.
And I opened the SweetHome3DJSViewer.html in powershell with ./chrome.exe --allow-file-access-from-files file:///C:/Users/ooohwen/Desktop/SweetHome3DJSViewer-6.6.4/SweetHome3DJSViewer.html. It showed error massage "Script error: check your browser is allowed to access local files".
the console:
Uncaught ReferenceError: TextStyle is not defined
at viewhome.min.js:20:259566

Uncaught TypeError: this.createHomeRecorder is not a function
at new HomePreviewComponent (viewhome.min.js:20:302612)
at viewHome (viewhome.min.js:20:296797)
at SweetHome3DJSViewer.html:122:3

Thanks for help
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Script error: check your browser is allowed to access local files

Post by Puybaret »

Did you try from cmd?
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest