This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Description
The transfer-files example fails in Chrome when you click the Start button with this error:
Uncaught TypeError: createServer is not a function
at module.exports (ipfs.js:86708)
at WebSockets.createListener (ipfs.js:86675)
at ipfs.js:83956
at ipfs.js:35190
at eachOfArrayLike (ipfs.js:25480)
at exports.default (ipfs.js:25424)
at _parallel (ipfs.js:35189)
at parallelLimit (ipfs.js:10477)
at Object.listen (ipfs.js:83976)
at each (ipfs.js:83605)
There are the steps to reproduce:
git clone https://github.com/ipfs/js-ipfs.git js-ipfs
cd js-ipfs
npm install
npm run build
cd examples/transfer-files/
npm install
npm start
In browser navigate to http://127.0.0.1:12345/
In web app, click 'Start IPFS' button
Observe error in web console