Created
January 17, 2019 11:19
-
-
Save zacck-zz/079b752ad96ab5a256e9ce0de84af2e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR in ./src/Main.elm | |
Module build failed (from ./node_modules/elm-webpack-loader/index.js): | |
Error: Compiler process exited with error Compilation failed | |
[========================= ] - 1 / 2-- TYPE MISMATCH -------------------------------------------- src/Page/Login.elm | |
This function cannot handle the argument sent through the (|>) pipe: | |
243| Mutation.selection LoginResp | |
244| |> with (Mutation.signIn { input = { password = form.password, signInParam = form.email }} credential) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
The argument is: | |
SelectionSet (Maybe LoginResp -> b) RootMutation | |
But (|>) is piping it a function that expects: | |
SelectionSet (Maybe String -> Maybe User -> LoginResp) RootMutation | |
Detected errors in 1 module. | |
at ChildProcess.<anonymous> (/Users/zacck/Documents/www/eyd_interface/node_modules/node-elm-compiler/index.js:149:27) | |
at ChildProcess.emit (events.js:180:13) | |
at maybeClose (internal/child_process.js:936:16) | |
at Socket.stream.socket.on (internal/child_process.js:353:11) | |
at Socket.emit (events.js:180:13) | |
at Pipe._handle.close [as _onclose] (net.js:541:12) | |
@ ./src/index.js 8:14-40 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment