The latest node and npm versions introduced some changes in how packages are handled and thus require('fugue') currently fails.
The problems is that a 'main' property seems to be required now (See https://github.com/isaacs/npm/blob/master/doc/json.md).
Adding main: "./lib/fugue.js" fixes this issue.
The latest node and npm versions introduced some changes in how packages are handled and thus require('fugue') currently fails. The problems is that a 'main' property seems to be required now (See https://github.com/isaacs/npm/blob/master/doc/json.md). Adding
main: "./lib/fugue.js"
fixes this issue.