{"action":"reopened","issue":{"url":"https://api.github.com/repos/hapijs/glue/issues/48","labels_url":"https://api.github.com/repos/hapijs/glue/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/glue/issues/48/comments","events_url":"https://api.github.com/repos/hapijs/glue/issues/48/events","html_url":"https://github.com/hapijs/glue/issues/48","id":124278951,"number":48,"title":"Cant get a basic NodeJS script working with HapiJS & Glue","user":{"login":"jhyland87","id":5976891,"avatar_url":"https://avatars.githubusercontent.com/u/5976891?v=3","gravatar_id":"","url":"https://api.github.com/users/jhyland87","html_url":"https://github.com/jhyland87","followers_url":"https://api.github.com/users/jhyland87/followers","following_url":"https://api.github.com/users/jhyland87/following{/other_user}","gists_url":"https://api.github.com/users/jhyland87/gists{/gist_id}","starred_url":"https://api.github.com/users/jhyland87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhyland87/subscriptions","organizations_url":"https://api.github.com/users/jhyland87/orgs","repos_url":"https://api.github.com/users/jhyland87/repos","events_url":"https://api.github.com/users/jhyland87/events{/privacy}","received_events_url":"https://api.github.com/users/jhyland87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-29T22:45:15Z","updated_at":"2015-12-30T02:48:33Z","closed_at":null,"body":"I'm reading the *Developing a Hapi Edge* book, and wanted to try to get a basic HapiJS API server going using Glue, the JS is pretty much right from the book, and even took some of the plugins out, but it looks like it should work: http://pastebin.com/x6Wftvhd (Transpiled ES5 version: http://pastebin.com/PH9qiFut)\r\n\r\nHowever, it returns an error in the console:\r\n\r\n\t$ node dist/app.js \r\n\t/Users/me/Documents/scripts/js/node/test/hapi/hapi_server/node_modules/glue/node_modules/joi/lib/index.js:141\r\n\t\t\t\t\tthrow error;\r\n\t\t\t\t\t^\r\n\t\r\n\tValidationError: Invalid manifest {\r\n\t  \"connections\": [\r\n\t\t{\r\n\t\t  \"port\": 8080,\r\n\t\t  \"labels\": [\r\n\t\t\t\"http\"\r\n\t\t  ]\r\n\t\t},\r\n\t\t{\r\n\t\t  \"port\": 8088,\r\n\t\t  \"labels\": [\r\n\t\t\t\"api\"\r\n\t\t  ]\r\n\t\t}\r\n\t  ],\r\n\t  \"plugins\" [1]: {\r\n\t\t\"good\": {\r\n\t\t  \"opsInterval\": 5000,\r\n\t\t  \"reporters\": [\r\n\t\t\t{\r\n\t\t\t  \"reporter\": \"good-console\",\r\n\t\t\t  \"events\": {\r\n\t\t\t\t\"ops\": \"*\",\r\n\t\t\t\t\"log\": \"*\"\r\n\t\t\t  }\r\n\t\t\t}\r\n\t\t  ]\r\n\t\t}\r\n\t  }\r\n\t}\r\n\t\r\n\t[1] \"plugins\" is not allowed\r\n\t\tat Object.internals.Err.toString.exports.process (/Users/me/Documents/scripts/js/node/test/hapi/hapi_server/node_modules/glue/node_modules/joi/lib/errors.js:140:19)\r\n\t\tat internals.Any.applyFunctionToChildren.internals.Any._validateWithOptions (/Users/me/Documents/scripts/js/node/test/hapi/hapi_server/node_modules/glue/node_modules/joi/lib/any.js:654:27)\r\n\t\tat root.validate (/Users/me/Documents/scripts/js/node/test/hapi/hapi_server/node_modules/glue/node_modules/joi/lib/index.js:102:23)\r\n\t\tat root.attempt (/Users/me/Documents/scripts/js/node/test/hapi/hapi_server/node_modules/glue/node_modules/joi/lib/index.js:131:29)\r\n\t\tat root.assert (/Users/me/Documents/scripts/js/node/test/hapi/hapi_server/node_modules/glue/node_modules/joi/lib/index.js:126:14)\r\n\t\tat Object.exports.compose.steps.push.steps.push.steps.push.steps.push.Items.serial [as compose] (/Users/me/Documents/scripts/js/node/test/hapi/hapi_server/node_modules/glue/lib/index.js:43:9)\r\n\t\tat Object.<anonymous> (/Users/me/Documents/scripts/js/node/test/hapi/hapi_server/dist/app.js:60:6)\r\n\t\tat Module._compile (module.js:399:26)\r\n\t\tat Object.Module._extensions..js (module.js:406:10)\r\n\t\tat Module.load (module.js:345:32)\r\n\r\nAny ideas?"}}