d3 / d3-request

A convenient alternative to XMLHttpRequest.
BSD 3-Clause "New" or "Revised" License
110 stars 54 forks source link

"Node child_process module not supported in browsers" error after upgrade d3@4.10.0 to @4.10.2 #27

Closed LuquanLi closed 7 years ago

LuquanLi commented 7 years ago

Hi,

I recently have this error after d3 upgrade when running tests. Everything is good in previous version.

Error: (SystemJS) Node child_process module not supported in browsers. Evaluating http://localhost:8889/static/scripts/vendor/github/jspm/nodelibs-child_process@0.1.0/index.js Evaluating http://localhost:8889/static/scripts/vendor/github/jspm/nodelibs-child_process@0.1.0.js Evaluating http://localhost:8889/static/scripts/vendor/npm/xmlhttprequest@1.8.0/lib/XMLHttpRequest.js Evaluating http://localhost:8889/static/scripts/vendor/npm/xmlhttprequest@1.8.0.js Evaluating http://localhost:8889/static/scripts/vendor/npm/d3-request@1.0.6/build/d3-request.node.js Evaluating http://localhost:8889/static/scripts/vendor/npm/d3-request@1.0.6.js Evaluating http://localhost:8889/static/scripts/vendor/npm/d3@4.10.2/build/d3.node.js Evaluating http://localhost:8889/static/scripts/vendor/npm/d3@4.10.2.js

mbostock commented 7 years ago

Duplicate of #24.