node-coordinator icon indicating copy to clipboard operation
node-coordinator copied to clipboard

Can't seem to import with Node v7

Open DenisCarriere opened this issue 9 years ago • 2 comments

I've used this library in the past, it works great! However I seem to only get undefined when I try to do require('coordinator').

Tried on Ubuntu with Node 6

$ node -v
v6.9.1
$ npm install coordinator
[email protected] /root/test
└── [email protected] 
$ node
> require('coordinator')
undefined
> 

Tried on MacOSX with Node 7

$ node -v
v7.1.0
$ npm install coordinator
[email protected] /Users/mac/Github/test
└── [email protected] 
$ node
> require('coordinator')
undefined
> 

DenisCarriere avatar Dec 06 '16 03:12 DenisCarriere

I'm getting the same error on macosx with node v5.1.0.

phdesign avatar Dec 10 '16 03:12 phdesign

Rolling back to v0.4.7 of coordinator works for me, looks like AMD support broke.

npm uninstall coordinator
npm install [email protected] --save

phdesign avatar Dec 10 '16 03:12 phdesign