Issue description
A script which uses Visualize.js API fails to run and produced the following error in browser log:
Cannot read property '2' of null
Cause and solution
This error is thrown when trying to run a script from a local file. For example, when your browser path looks something like file:///C:/Users/Desktop/index.html
The URL in such case starts will file://* which is not supported by Visualize.js. The URL has to start from http(s)://*. This limitation is imposed for security reasons.
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now