score:4
Accepted answer
your document has the origin 'null'
because you are loading it from a file scheme uri.
install a web server and load your html document from there.
score:0
to elaborate off of quentin's answer. you can run it on a web server using:
npx http-server wond_dist
where wond_dist
is the public or distribution folder.
you can read more about http-server here: https://github.com/http-party/http-server
there are also many more web servers you can run it on in this post: using node.js as a simple web server
Source: stackoverflow.com
Related Query
- Uncaught SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL
- How to fix Uncaught DOMException: Failed to execute 'pushState' on 'History'
- React JS - Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node':
- DOMException: Failed to execute 'replaceState' on 'History': A history state object with URL
- Uncaught DOMException: Failed to execute 'pushState' on 'History': function () { [native code] } could not be cloned
- Uncaught TypeError: Failed to execute 'selectNode' on 'Range': parameter 1 is not of type 'Node'
- Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '' is not a valid selector
- Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': Overload resolution failed
- Uncaught DOMException: Failed to execute 'createElement' on 'Document': The tag name provided
- Uncaught DOMException: Failed to execute 'replaceState' on 'History' in react router dom 6
- Set Icon for a button: Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'
- React DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node
- TypeError: Failed to execute 'fetch' on 'Window': Invalid value
- Failed to execute 'removeChild' on 'Node' with FontAwesome in React
- How to propagate event? InvalidStateError: Failed to execute 'dispatchEvent' on 'EventTarget': The event is already being dispatched
- InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('/static/media/index.c6592bb6.ts') is not a valid name
- Storybook: Failed to execute 'createElement' on svg files using @svgr/webpack
- Vercel Next js Uncaught (in promise) ChunkLoadError: Loading chunk 0 failed
- React Storybook SVG Failed to execute 'createElement' on 'Document'
- InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing with ios safari
- WebRTC getting Failed to execute 'addIceCandidate' on RTCPeerConnection error on console but can still display remote and local videos
- TypeError: Failed to execute 'createObjectURL' on 'URL': Overload resolution failed
- React Auth state and Routes . Failed to execute 'replaceState' on 'History' inside React-Router
- Axios - Uncaught (in promise) Error: Request failed with status code 500
- SecurityError: replaceState cannot update history to a URL which differs in components other than in path, query, or fragment
- NotFoundError: Failed to execute 'removeChild' on 'Node' on React with Flickity
- Uncaught (in promise) Error: Request failed with status code 404
- Failed to execute com.github.eirslett
- Axios createError.js:16 Uncaught (in promise) Error: Request failed with status code 400
- React Error: NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node
More Query from same tag
- React Context data got undefined everytime refresh page
- Proper way to use function properties in React components
- npx create-react-app my-app ERORR: rollbackFailedOptional
- eslint `forbid-prop-types` rule cause a warning in firefox console window
- Promises not handled through Redux
- React-Native: How to mark part of a picture, using coordinates and Image zoom?
- How to transform a single target file with using React.js JSX transformer?
- Nextjs fails to find valid build in the '.next' directory in production node_env
- Create an precise amount of ref after rerender
- Difference between {} and () with .map with Reactjs
- How to use window.postmessage to communicate with parent window
- Having issues passing data of a multiple fetch API into an array to access outside the function
- How to configure types in JavaScript file for getting auto-suggestion?
- Create function componente HOC with typescript
- why key error Recursion component in React
- Component not rerendering on a redux store change
- Is it possible to use redux-form without using connect()?
- How to call a function when a Card is Clicked - MERN Stack
- Handle image loading in React
- ReactDOM.findDOMNode not working as expected
- In Flux architecture, how do you manage Store lifecycle?
- Losing relationships from activerecord model when converting to javascript via reactjs
- Is there a way to dynamically set Object in ReactJS?
- React router, inferred query string
- React router v5 on navigate away event
- How to stop replacing relative path to absolute path all files automatically
- Inserting prop into Jest test for react component - receiving 'Cannot read property 'map' of undefined' error
- how to pass input value from child to parent in functional componenent
- Having trouble creating a (string) filter for a search engine with Google's Api using (Jsx, React)
- (Gatsby) Autolink headers, but make the entire heading the anchor