Last active
April 27, 2020 07:13
-
-
Save jxxcarlson/b0fa7ac257a7005332636eea0f36aa3e to your computer and use it in GitHub Desktop.
Issue depolying svgChat
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
Made the changed indicated below | |
newAttributes : Random.Seed -> Float -> Float -> ClientStatus -> (ClientAttributes, Random.Seed) | |
newAttributes seed maxX maxY clientStatus = | |
let | |
(handle, seed1) = map String.toUpper (word 3 seed) | |
(x, seed2) = Random.step (Random.float 0 maxX) seed1 | |
(y, seed3) = Random.step (Random.float 0 maxY) seed2 | |
(k, seed4) = Random.step (Random.int 0 11) seed3 | |
(color, fontColor) = getColors k | |
in | |
({ x = x -- Changed from x = 0 | |
, y = y -- Changed from y = 0 | |
, radius = 20 | |
, color = color | |
, fontColor = fontColor | |
, handle = handle | |
, clientStatus = clientStatus} | |
, seed4) | |
Then got the following errors when I tried to deploy | |
remote: Building 'svgchat'... | |
remote: | |
remote: ───> elm-0.19 app detected | |
remote: ───> Building application v2 | |
remote: Dependencies loaded from local cache. | |
remote: Dependencies ready! | |
remote: ───> Checking project compiles... | |
remote: Success! Compiled 4 modules. | |
remote: [==================================================] - 1 / 1-- UNKNOWN IMPORT ------------------------------------- src/LamderaGenerated.elm | |
remote: | |
remote: The LamderaGenerated module has a bad import: | |
remote: | |
remote: import Evergreen.V1.Types | |
remote: | |
remote: I cannot find that module! Is there a typo in the module name? | |
remote: | |
remote: The "source-directories" field of your elm.json tells me to only look in the src | |
remote: directory, but it is not there. Maybe it is in a package that is not installed | |
remote: yet? | |
remote: | |
remote: Success! Compiled 1 module. | |
remote: ───> Checking Evergreen migrations... | |
remote: | |
remote: WARNING: Evergreen Alpha does not cover type changes outside your project | |
remote: | |
remote: You are referencing the following in your core types: | |
remote: | |
remote: - Random.Seed (elm/random) | |
remote: | |
remote: Package upgrades that change these types won't get covered by Evergreen | |
remote: migrations currently! | |
remote: | |
remote: See <https://dashboard.lamdera.app/docs/evergreen> for more info. | |
remote: | |
remote: It appears you're all set to deploy v2 of 'svgchat'. | |
remote: | |
remote: There are no Evergreen type changes for this version. | |
To apps.lamdera.com:svgchat.git | |
! [remote rejected] master -> master (pre-receive hook declined) | |
error: failed to push some refs to 'git@apps.lamdera.com:svgchat.git' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment