You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran npm install in the example directory, input my credentials into config.mine.js and ran node twitter-auth-example.js, which errored out quite verbosely:
➜ example git:(master) ✗ node twitter-auth-example.js
2014-09-22T10:09:42.291Z t0hj3es0za4k/1411380582288/- INFO hello Seneca/0.5.20/t0hj3es0za4k/1411380582288/-
2014-09-22T10:09:42.540Z t0hj3es0za4k/1411380582288/- FATAL plugin auth - sys seneca 0.5.20 t0hj3es0za4k/1411380582288/- plugin_not_found use-plugin: Could not load plugin crypto-sign; require search list: crypto-sign, seneca-crypto-sign, ./crypto-sign, ./seneca-crypto-sign.
Seneca Fatal Error
==================
Message: use-plugin: Could not load plugin crypto-sign; require search list: crypto-sign, seneca-crypto-sign, ./crypto-sign, ./seneca-crypto-sign.
Code: plugin_not_found
Stack:
at /home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/node_modules/eraro/eraro.js:85:12
at Object.use (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/node_modules/use-plugin/use.js:90:13)
at Seneca.api_use [as use] (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:1029:22)
at Seneca.auth (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca-auth/lib/auth.js:25:10)
at Object.define_plugin (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/plugin-util.js:123:26)
at Seneca.api_register [as register] (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:369:17)
at Seneca.api_use [as use] (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:1035:10)
at Object.<anonymous> (/home/maciej/dev/js/seneca-twitter-auth/example/twitter-auth-example.js:19:8)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
Instance: Seneca/0.5.20/t0hj3es0za4k/1411380582288/-
When: 2014-09-22T10:09:42.540Z
Log: [sys,seneca,0.5.20,t0hj3es0za4k/1411380582288/-,plugin_not_found,use-plugin: Could not load plugin crypto-sign; require search list: crypto-sign, seneca-crypto-sign, ./crypto-sign, ./seneca-crypto-sign.]
Node: { http_parser: '1.0', node: '0.10.30', v8: '3.14.5.9', ares: '1.9.0-DEV', uv: '0.10.28', zlib: '1.2.3', modules: '11', openssl: '1.0.1h' }
Process: pid=19923, path=/usr/local/bin/node, args=[ 'node',
'/home/maciej/dev/js/seneca-twitter-auth/example/twitter-auth-example.js' ]
2014-09-22T10:09:42.564Z t0hj3es0za4k/1411380582288/- FATAL sys seneca 0.5.20 t0hj3es0za4k/1411380582288/- plugin_not_found use-plugin: Could not load plugin twitter-auth; require search list: twitter-auth, seneca-twitter-auth, ./twitter-auth, ./seneca-twitter-auth.
Seneca Fatal Error
==================
Message: use-plugin: Could not load plugin twitter-auth; require search list: twitter-auth, seneca-twitter-auth, ./twitter-auth, ./seneca-twitter-auth.
Code: plugin_not_found
Stack:
at /home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/node_modules/eraro/eraro.js:85:12
at Object.use (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/node_modules/use-plugin/use.js:90:13)
at Seneca.api_use [as use] (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:1029:22)
at Object.<anonymous> (/home/maciej/dev/js/seneca-twitter-auth/example/twitter-auth-example.js:38:8)
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 Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
Instance: Seneca/0.5.20/t0hj3es0za4k/1411380582288/-
When: 2014-09-22T10:09:42.564Z
Log: [sys,seneca,0.5.20,t0hj3es0za4k/1411380582288/-,plugin_not_found,use-plugin: Could not load plugin twitter-auth; require search list: twitter-auth, seneca-twitter-auth, ./twitter-auth, ./seneca-twitter-auth.]
Node: { http_parser: '1.0', node: '0.10.30', v8: '3.14.5.9', ares: '1.9.0-DEV', uv: '0.10.28', zlib: '1.2.3', modules: '11', openssl: '1.0.1h' }
Process: pid=19923, path=/usr/local/bin/node, args=[ 'node',
'/home/maciej/dev/js/seneca-twitter-auth/example/twitter-auth-example.js' ]
connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:56:20
connect deprecated limit: Restrict request size at location of read node_modules/express/node_modules/connect/lib/middleware/multipart.js:86:15
connect deprecated methodOverride: use method-override npm module instead twitter-auth-example.js:48:17
2014-09-22T10:09:42.680Z t0hj3es0za4k/1411380582288/- FATAL sys seneca 0.5.20 t0hj3es0za4k/1411380582288/- plugin_required The admin plugin depends on the data-editor plugin, which is not loaded yet. {name=admin,dependency=data-editor}
Seneca Fatal Error
==================
Message: The admin plugin depends on the data-editor plugin, which is not loaded yet.
Code: plugin_required
Stack:
at Seneca.die (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:1582:15)
at /home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:455:14
at Array.every (native)
at Function._.every._.all (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/node_modules/underscore/underscore.js:194:62)
at Seneca.api_depends [as depends] (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:452:7)
at Seneca.module.exports (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca-admin/admin.js:50:10)
at Object.define_plugin (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/plugin-util.js:123:26)
at Seneca.api_register [as register] (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:369:17)
at Seneca.api_use [as use] (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:1035:10)
at Object.<anonymous> (/home/maciej/dev/js/seneca-twitter-auth/example/twitter-auth-example.js:94:8)
Instance: Seneca/0.5.20/t0hj3es0za4k/1411380582288/-
When: 2014-09-22T10:09:42.680Z
Log: [sys,seneca,0.5.20,t0hj3es0za4k/1411380582288/-,plugin_required,The admin plugin depends on the data-editor plugin, which is not loaded yet.,{name=admin,dependency=data-editor}]
Node: { http_parser: '1.0', node: '0.10.30', v8: '3.14.5.9', ares: '1.9.0-DEV', uv: '0.10.28', zlib: '1.2.3', modules: '11', openssl: '1.0.1h' }
Process: pid=19923, path=/usr/local/bin/node, args=[ 'node',
'/home/maciej/dev/js/seneca-twitter-auth/example/twitter-auth-example.js' ]
connections property is deprecated. Use getConnections() method
2014-09-22T10:09:42.689Z t0hj3es0za4k/1411380582288/- INFO plugin auth - registering auth service [local]
Terminated at 2014-09-22T10:09:42.692Z. See above for error report.
I ran npm install seneca-crypto-sign, and it started erroring differently (but seneca-auth which example's package.json includes already depends on seneca-crypto-sign!):
➜ example git:(seneca-crypto-sign) ✗ node twitter-auth-example.js
2014-09-22T11:49:57.870Z e4l3hvuwj4p5/1411386597867/- INFO hello Seneca/0.5.20/e4l3hvuwj4p5/1411386597867/-
2014-09-22T11:49:58.151Z e4l3hvuwj4p5/1411386597867/- FATAL sys seneca 0.5.20 e4l3hvuwj4p5/1411386597867/- plugin_not_found use-plugin: Could not load plugin twitter-auth; require search list: twitter-auth, seneca-twitter-auth, ./twitter-auth, ./seneca-twitter-auth.
Seneca Fatal Error
==================
Message: use-plugin: Could not load plugin twitter-auth; require search list: twitter-auth, seneca-twitter-auth, ./twitter-auth, ./seneca-twitter-auth.
Code: plugin_not_found
Stack:
at /home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/node_modules/eraro/eraro.js:85:12
at Object.use (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/node_modules/use-plugin/use.js:90:13)
at Seneca.api_use [as use] (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:1029:22)
at Object.<anonymous> (/home/maciej/dev/js/seneca-twitter-auth/example/twitter-auth-example.js:38:8)
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 Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
Instance: Seneca/0.5.20/e4l3hvuwj4p5/1411386597867/-
When: 2014-09-22T11:49:58.151Z
Log: [sys,seneca,0.5.20,e4l3hvuwj4p5/1411386597867/-,plugin_not_found,use-plugin: Could not load plugin twitter-auth; require search list: twitter-auth, seneca-twitter-auth, ./twitter-auth, ./seneca-twitter-auth.]
Node: { http_parser: '1.0', node: '0.10.30', v8: '3.14.5.9', ares: '1.9.0-DEV', uv: '0.10.28', zlib: '1.2.3', modules: '11', openssl: '1.0.1h' }
Process: pid=25569, path=/usr/local/bin/node, args=[ 'node',
'/home/maciej/dev/js/seneca-twitter-auth/example/twitter-auth-example.js' ]
connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:56:20
connect deprecated limit: Restrict request size at location of read node_modules/express/node_modules/connect/lib/middleware/multipart.js:86:15
connect deprecated methodOverride: use method-override npm module instead twitter-auth-example.js:48:17
2014-09-22T11:49:58.273Z e4l3hvuwj4p5/1411386597867/- FATAL sys seneca 0.5.20 e4l3hvuwj4p5/1411386597867/- plugin_required The admin plugin depends on the data-editor plugin, which is not loaded yet. {name=admin,dependency=data-editor}
Seneca Fatal Error
==================
Message: The admin plugin depends on the data-editor plugin, which is not loaded yet.
Code: plugin_required
Stack:
at Seneca.die (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:1582:15)
at /home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:455:14
at Array.every (native)
at Function._.every._.all (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/node_modules/underscore/underscore.js:194:62)
at Seneca.api_depends [as depends] (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:452:7)
at Seneca.module.exports (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca-admin/admin.js:50:10)
at Object.define_plugin (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/plugin-util.js:123:26)
at Seneca.api_register [as register] (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:369:17)
at Seneca.api_use [as use] (/home/maciej/dev/js/seneca-twitter-auth/example/node_modules/seneca/lib/seneca.js:1035:10)
at Object.<anonymous> (/home/maciej/dev/js/seneca-twitter-auth/example/twitter-auth-example.js:94:8)
Instance: Seneca/0.5.20/e4l3hvuwj4p5/1411386597867/-
When: 2014-09-22T11:49:58.274Z
Log: [sys,seneca,0.5.20,e4l3hvuwj4p5/1411386597867/-,plugin_required,The admin plugin depends on the data-editor plugin, which is not loaded yet.,{name=admin,dependency=data-editor}]
Node: { http_parser: '1.0', node: '0.10.30', v8: '3.14.5.9', ares: '1.9.0-DEV', uv: '0.10.28', zlib: '1.2.3', modules: '11', openssl: '1.0.1h' }
Process: pid=25569, path=/usr/local/bin/node, args=[ 'node',
'/home/maciej/dev/js/seneca-twitter-auth/example/twitter-auth-example.js' ]
connections property is deprecated. Use getConnections() method
2014-09-22T11:49:58.283Z e4l3hvuwj4p5/1411386597867/- INFO plugin auth - registering auth service [local]
2014-09-22T11:49:58.330Z e4l3hvuwj4p5/1411386597867/- INFO plugin admin - ACT e3hr70wi51qb admin user admin jv710nn1l3
Terminated at 2014-09-22T11:49:58.335Z. See above for error report.
I removed seneca.use('admin'), which got rid of the data-editor problem and changed seneca.use('twitter-auth') into seneca.use('..'), which seemingly fixed all the things.
The text was updated successfully, but these errors were encountered:
I ran
npm install
in theexample
directory, input my credentials intoconfig.mine.js
and rannode twitter-auth-example.js
, which errored out quite verbosely:I ran
npm install seneca-crypto-sign
, and it started erroring differently (butseneca-auth
which example'spackage.json
includes already depends onseneca-crypto-sign
!):I removed
seneca.use('admin')
, which got rid of thedata-editor
problem and changedseneca.use('twitter-auth')
intoseneca.use('..')
, which seemingly fixed all the things.The text was updated successfully, but these errors were encountered: