Created
February 13, 2018 04:12
-
-
Save ssbb/8d552a8df34a58197ee9102a648f7ca7 to your computer and use it in GitHub Desktop.
This file contains 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 ./elm/Main.elm | |
Module build failed: Error: Compiler process exited with error Compilation failed | |
==================================== ERRORS ==================================== | |
-- TYPE MISMATCH ----------------------------------- ././elm/Api/InputObject.elm | |
The right side of (|>) is causing a type mismatch. | |
77| \(Api.Scalar.Id raw) -> Encode.string raw) |> Encode.list) |> Encode.optional input.areas | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
(|>) is expecting the right side to be a: | |
(List Api.Scalar.Id -> Value) -> a | |
But the right side is: | |
(List (Maybe Api.Scalar.Id) -> Value) -> Maybe Value | |
Hint: With operators like (|>) I always check the left side first. If it seems | |
fine, I assume it is correct and check the right side. So the problem may be in | |
how the left and right arguments interact. | |
-- TYPE MISMATCH ----------------------------------- ././elm/Api/InputObject.elm | |
The right side of (|>) is causing a type mismatch. | |
231| \(Api.Scalar.Id raw) -> Encode.string raw) |> Encode.list) |> Encode.optional input.areas | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
(|>) is expecting the right side to be a: | |
(List Api.Scalar.Id -> Value) -> a | |
But the right side is: | |
(List (Maybe Api.Scalar.Id) -> Value) -> Maybe Value | |
Hint: With operators like (|>) I always check the left side first. If it seems | |
fine, I assume it is correct and check the right side. So the problem may be in | |
how the left and right arguments interact. | |
Detected errors in 1 module. | |
at ChildProcess.<anonymous> (/Users/ssbb/Workspace/exr/frontend/node_modules/node-elm-compiler/index.js:141:27) | |
at ChildProcess.emit (events.js:159:13) | |
at maybeClose (internal/child_process.js:943:16) | |
at Socket.stream.socket.on (internal/child_process.js:363:11) | |
at Socket.emit (events.js:159:13) | |
at Pipe._handle.close [as _onclose] (net.js:558:12) | |
@ ./js/app.js 13:0-30 | |
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./js/app.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment