PRIArobotics / hedgehog-ide

Hedgehog IDE and Deployment Protocol
https://hedgehog.pria.at
GNU Affero General Public License v3.0
8 stars 0 forks source link

unable to call npm start #72

Closed Kola50011 closed 6 years ago

Kola50011 commented 6 years ago

Hey, I am sadly unable to start the hedgehog ide. I followed the installation instructions for building from source.

$ npm start

hedgehog-ide@1.3.0 start /home/void/workspace/hedgehog-ide node build/src/server/server.js


| | | | | | | | | | | __| | || |/ \/ ` |/ |/ _ \ '_ \ / _ \ / _ | | || | | | |
|
| / (| | (| | / | | | () | (| | | || |_| | | || ||\|_,|__, |_|| ||_/ __, | |_|_/|| |/ |/
(node:1781) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: validate OR verify function is required! at Object.internals.implementation [as jwt] (/home/void/workspace/hedgehog-ide/node_modules/hapi-auth-jwt2/lib/index.js:66:3) at module.exports.internals.Auth._strategy (/home/void/workspace/hedgehog-ide/node_modules/hapi/lib/auth.js:52:47) at Object. (/home/void/workspace/hedgehog-ide/build/src/server/server.js:115:29) at step (/home/void/workspace/hedgehog-ide/build/src/server/server.js:32:23) at Object.next (/home/void/workspace/hedgehog-ide/build/src/server/server.js:13:53) at fulfilled (/home/void/workspace/hedgehog-ide/build/src/server/server.js:4:58) at at process._tickCallback (internal/process/next_tick.js:188:7) at Function.Module.runMain (module.js:695:11) at startup (bootstrap_node.js:191:16) (node:1781) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:1781) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

trestoa commented 6 years ago

Hi,

thanks for submitting this issue! The node module we use for authentication (hapi-auth-jwt2) changed the property name for the validate function which was not adapted when we updated the dependency. I fixed the property name and the IDE should start properly now.

I will close this issue for now, it you experience any further problems, please feel free to reopen it.