JoinColony/purser

Crash when using @colony/purser-software'

Opened this issue · 1 comments

Node 10.14.1

Installed via NPM

The statement:

import { open } from '@colony/purser-software';

causes a crash in a React app:

Error in ./~/xmlhttprequest/lib/XMLHttpRequest.js
Module not found: 'child_process' in /myproject/node_modules/xmlhttprequest/lib

@ ./~/xmlhttprequest/lib/XMLHttpRequest.js 15:12-36

rdig commented

I'll try to replicate this.

But a thing to note is that purser is currently set up to work with node @ 8.x

https://github.com/JoinColony/purser/blob/master/.nvmrc