Bruce Lewis
Aug 28, 2017 · 1 min read

JavaScript examples that load JSON won’t work as file:// URLs for security reasons. You have to either inline the JSON in your JavaScript file or run a server. If you want to run a server, the easiest is probably

npm install -g http-server
http-server

)

    Bruce Lewis

    Written by

    Principal Software Engineer @fitbit Boston, @mit alumnus