Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hoek dependency interrupts gulp #21

Closed
cloopadoop opened this issue Mar 8, 2018 · 3 comments
Closed

hoek dependency interrupts gulp #21

cloopadoop opened this issue Mar 8, 2018 · 3 comments

Comments

@cloopadoop
Copy link

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
Copy link
Owner

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
Copy link
Author

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

@JKHeadley
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants