purser icon indicating copy to clipboard operation
purser copied to clipboard

Crash when using @colony/purser-software'

Open kornatzky opened this issue 6 years ago • 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

kornatzky avatar Dec 29 '18 10:12 kornatzky

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

rdig avatar Jan 01 '19 10:01 rdig