Skip to content

Error on require #41

@jpolack

Description

@jpolack

I have just been requireing electrolyte
simple as:
var IoC = require('electrolyte');

throws following error:

node test.js

util.js:555
ctor.prototype = Object.create(superCtor.prototype, {
^
TypeError: Object prototype may only be an Object or null
at Function.create (native)
at Object.exports.inherits (util.js:555:27)
at Object. (/Users/xxx/testproject/node_modules/electrolyte/lib/container.js:42:6)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/Users/xxx/testproject/node_modules/electrolyte/lib/index.js:1:79)

am i using it wrong or is there an unstable state online?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions