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'm new to hoodie and hapi, I created a simple plugin and it worked but when I tried registering the hoodie plugin and then started the server, I got this error:
Error: Invalid register options "value" must be of type object
at Object.exports.apply (/home/asedsami/workspace/hoodie-plugin/node_modules/@hapi/hapi/lib/config.js:19:15)
at internals.Server.register (/home/asedsami/workspace/hoodie-plugin/node_modules/@hapi/hapi/lib/server.js:416:26)
at Object.register (/home/asedsami/workspace/hoodie-plugin/node_modules/hoodie/server/index.js:24:10)
at internals.Server.register (/home/asedsami/workspace/hoodie-plugin/node_modules/@hapi/hapi/lib/server.js:488:35)
at init (/home/asedsami/workspace/hoodie-plugin/index.js:60:18)
at Object.<anonymous> (/home/asedsami/workspace/hoodie-plugin/index.js:83:1)
at Module._compile (internal/modules/cjs/loader.js:1256:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)
at Module.load (internal/modules/cjs/loader.js:1105:32)
at Function.Module._load (internal/modules/cjs/loader.js:967:14)
Thanks for any help you're able to provide.
The text was updated successfully, but these errors were encountered:
asedsami
changed the title
can't register hoodie plugin: Invalid register options "value" must be of type object
can't register hoodie plugin in hapi: Invalid register options "value" must be of type object
Aug 5, 2020
Hi. I'm trying to use hoodie plugin in hapi but have failed to do so. Here's my index.js:
I'm new to hoodie and hapi, I created a simple plugin and it worked but when I tried registering the hoodie plugin and then started the server, I got this error:
Thanks for any help you're able to provide.
The text was updated successfully, but these errors were encountered: