JKHeadley / appy-backend

A user system to bootstrap your app.
https://appyapp.io
MIT License
108 stars 30 forks source link

hoek dependency interrupts gulp #21

Closed cloopadoop closed 6 years ago

cloopadoop commented 6 years ago

appy\node_modules\hapi-auth-jwt2\node_modules\boom\node_modules\hoek\lib\index.js:719 exports.assert = function (condition, ...args){

SyntaxError: Unexpected token ...

I guess this is technically a hoek issue. Is there a specific version you typically run that I should install?

JKHeadley commented 6 years ago

It might be your version of hapi-auth-jwt2, do you have 7.2.4?

Just fyi, I don't have "hoek" as a direct dependency, but my current version is at 4.1.0

cloopadoop commented 6 years ago

npm install hapi-auth-jwt2@7.2.4 seems to have done the trick. Thanks! :)

JKHeadley commented 6 years ago

Just FYI this was likely due to hapi-auth-jwt upgrading to Hapi 17. Hopefully appy can make the same upgrade in the near future.