CleverStack / node-seed

The NodeJS based Modular Backend for CleverStack (but it also works great on its own), MEAN and so much more.
http://youtube.com/watch?v=-4ArURHExhQ
MIT License
55 stars 14 forks source link

injector.js error on running clever-serve #101

Closed dancancro closed 9 years ago

dancancro commented 10 years ago

I got the following after a new clever init, upon running clever-serve

Running "nodemon:web" (nodemon) task
[nodemon] v1.0.20
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node app.js`

/Users/Dan/work/clever-4/backend/node_modules/clever-injector/injector.js:64
            throw err2;
                  ^
Error: Error during injection
    at Class.exports.Class.Class.extend.addResource (/Users/Dan/work/clever-4/backend/lib/classes/Module.js:190:26)
    at class_cb (/Users/Dan/work/clever-4/backend/node_modules/uberclass/lib/class.js:94:43)
    at /Users/Dan/work/clever-4/backend/node_modules/async/lib/async.js:125:13
    at Array.forEach (native)
    at _each (/Users/Dan/work/clever-4/backend/node_modules/async/lib/async.js:46:24)
    at Object.async.each (/Users/Dan/work/clever-4/backend/node_modules/async/lib/async.js:124:9)
    at /Users/Dan/work/clever-4/backend/lib/classes/Module.js:132:23
    at Object.oncomplete (fs.js:107:15)

Original error was Error: can't find factory for Exceptions
    at /Users/Dan/work/clever-4/backend/node_modules/clever-injector/injector.js:61:24
    at /Users/Dan/work/clever-4/backend/node_modules/clever-injector/injector.js:132:30
    at /Users/Dan/work/clever-4/backend/node_modules/async/lib/async.js:254:17
    at done (/Users/Dan/work/clever-4/backend/node_modules/async/lib/async.js:129:15)
    at /Users/Dan/work/clever-4/backend/node_modules/async/lib/async.js:32:16
    at /Users/Dan/work/clever-4/backend/node_modules/async/lib/async.js:251:21
    at /Users/Dan/work/clever-4/backend/node_modules/clever-injector/injector.js:170:9
    at Array.forEach (native)
    at injector._resolved (/Users/Dan/work/clever-4/backend/node_modules/clever-injector/injector.js:169:15)
    at injector._resolve (/Users/Dan/work/clever-4/backend/node_modules/clever-injector/injector.js:156:20)
Running "clean:server" (clean) task

Running "connect:livereload" (connect) task
Started connect web server on 127.0.0.1:9000.

Running "connect:test" (connect) task
Started connect web server on 127.0.0.1:9090.

Running "connect:dist" (connect) task
Started connect web server on 127.0.0.1:9009.

Running "concurrent:watch" (concurrent) task
Running "watch:less" (watch) task
Waiting...Running "watch:livereload" (watch) task
Waiting...
pilsy commented 10 years ago

@dancancro What version of node-seed is that running on or if this is still an issue?