It appears plotly.js 1.50.0 introduced the following error in phantomjs 2.1.1:
$ phantomjs --version
2.1.1
$ phantomjs plot.js
This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.