简体   繁体   English

未捕获的DOMException:无法构造'Worker':位于papaparse.mi.js的脚本

[英]Uncaught DOMException: Failed to construct 'Worker': Script at papaparse.mi.js

I tried to play with importing CSV data as xAPI Statement in LRS. 我试图将CSV数据作为xAPI语句导入LRS。 I tired to followed the step stated. 我厌倦了遵循所述步骤。 But i cannot fletch the data. 但是我无法提取数据。 It throws a error." Uncaught DOMException: Failed to construct 'Worker': Script atUncaught DOMException: Failed to construct 'Worker': Script at papaparse.min.js 它将引发错误。“ Uncaught DOMException:无法构造'Worker':脚本atUncaught DOMException:无法构造'Worker':脚本在papaparse.min.js

Here is the github link for it which i tried. 这是我尝试的github链接。 https://github.com/mariocoski/csv-to-xapi https://github.com/mariocoski/csv-to-xapi

This is the error that i am getting papaparse.min.js:6 Uncaught DOMException: Failed to construct 'Worker': Script at 'file:///Users/dassintern/Documents/ayash/csv-to-xapi-master/js/lib/papaparse.min.js?papaworker' cannot be accessed from origin 'null'. 这是我得到papaparse.min.js的错误:6未捕获的DOMException:无法构造'Worker':'file:/// Users / dassintern / Documents / ayash / csv-to-xapi-master / js中的脚本/lib/papaparse.min.js?papaworker'不能从源'null'访问。 at f (file:///Users/dassintern/Documents/ayash/csv-to-xapi-master/js/lib/papaparse.min.js:6:11265) at Object.t [as parse] (file:///Users/dassintern/Documents/ayash/csv-to-xapi-master/js/lib/papaparse.min.js:6:91) at HTMLInputElement. 在Object.t的f(文件:///Users/dassintern/Documents/ayash/csv-to-xapi-master/js/lib/papaparse.min.js:6:11265)(分析时)(文件:/ //Users/dassintern/Documents/ayash/csv-to-xapi-master/js/lib/papaparse.min.js:6:91),位于HTMLInputElement。 (file:///Users/dassintern/Documents/ayash/csv-to-xapi-master/js/csv-parser-extension.js:60:8) at HTMLInputElement.dispatch ( https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js:3:8549 ) at HTMLInputElement.r.handle ( https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js:3:5252 ) (file:///Users/dassintern/Documents/ayash/csv-to-xapi-master/js/csv-parser-extension.js:60:8), 网址为HTMLInputElement.dispatch( https://ajax.googleapis.com /ajax/libs/jquery/1.11.2/jquery.min.js:3:8549 ),位于HTMLInputElement.r.handle( https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery。 min.js:3:5252

If you are seeing this in Chrome then the answer probably has to do with loading from a local filesystem rather than over HTTP. 如果您在Chrome中看到此消息,那么答案可能与从本地文件系统而不是通过HTTP加载有关。 The key is the message "cannot be accessed from origin 'null'" where a local file:// load will have a null origin. 关键是消息“无法从原点'null'访问”,其中本地file://加载的原点为null See Chrome can't load web worker . 请参阅Chrome无法加载网络工作者

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Web worker importScripts DOMException 脚本加载失败 - Web worker importScripts DOMException script failed to load 未捕获(在承诺中)DOMException:订阅失败 - 没有活动的服务工作者 - Uncaught (in promise) DOMException: Subscription failed - no active Service Worker Next.js 未捕获的 DOMException:无法在“WorkerGlobalScope”上执行“importScripts” - Next.js Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope' 未捕获的 DOMException:无法构造 'WebSocket':URL 'ws://127.0.0.1:8000:8001/public_chat/' 无效 - Uncaught DOMException: Failed to construct 'WebSocket': The URL 'ws://127.0.0.1:8000:8001/public_chat/' is invalid Laravel-mix@6.0.10 出现未知错误 Uncaught DOMException: Failed to construction 'WebSocket' - Laravel-mix@6.0.10 got unknown error Uncaught DOMException: Failed to construct 'WebSocket' 未捕获的DOMException:无法读取“ contentDocument” - Uncaught DOMException: Failed to read the 'contentDocument' Service Worker 中抛出错误“Uncaught (in promise) DOMException” - Error "Uncaught (in promise) DOMException" thrown in Service Worker “工作”脚本返回未捕获的DOMException:无法在“节点”上执行“ insertBefore”:新的子元素包含父元素 - “Working” script returning Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The new child element contains the parent 未捕获的 DOMException:无法在“FileReader”上执行“readAsDataURL” - Uncaught DOMException: Failed to execute 'readAsDataURL' on 'FileReader' 未捕获的 DOMException:无法在“历史”上执行“pushState”: - Uncaught DOMException: Failed to execute 'pushState' on 'History':
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM