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

Examples not working #16

Closed
kingsleyh opened this issue Jul 30, 2017 · 3 comments
Closed

Examples not working #16

kingsleyh opened this issue Jul 30, 2017 · 3 comments

Comments

@kingsleyh
Copy link

Hi

I cloned this repo and ran the npm install and gulp - but the elm does not compile:

-- NAMING ERROR -------------------------------------------------- ./src/App.elm

Cannot find variable `Jwt.checkTokenExpirey`.

138|             , Jwt.checkTokenExpirey token
                   ^^^^^^^^^^^^^^^^^^^^^
`Jwt` does not expose `checkTokenExpirey`. Maybe you want one of the following?

    Jwt.checkTokenExpiry

-- NAMING ERROR -------------------------------------------------- ./src/App.elm

This usage of variable `tokenDecoder` is ambiguous.

237|                         decodeToken tokenDecoder tokenString
                                         ^^^^^^^^^^^^
Maybe you want one of the following?

    Decoders.tokenDecoder
    Jwt.tokenDecoder

the first looks like a spelling mistake where checkTokenExpiry is spelled incorrectly - and the second one I'm not sure whether it should be decoding from Jwt or Decoders?

@kingsleyh
Copy link
Author

In App.elm I had to fix the spelling on line 138 - to Jwt.checkTokenExpiry and then I had to modify line 237 to Decoders.tokenDecoder in order to get the elm to compile.

simonh1000 added a commit that referenced this issue Jul 30, 2017
@simonh1000
Copy link
Owner

Thanks - I should upgrade the whole build environment for the Node example, but have at least fixed everything per your very helpful contribution :-)

@simonh1000
Copy link
Owner

Master now has a full update of nodejs example

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