You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally getting around to seeing if i can update an old project of mine. And for some reason the elm.json that is getting generated has a carriage return in it. This is on windows 10 with the latest elm-format, and elm, with the latest elm-upgrade.
Assistance would be appreciated.
`C:\GITHUB\PrismaPalette\gamut-commander\html>npx elm-upgrade@latest
INFO: Found elm at node_modules.bin\elm.CMD
INFO: Found elm 0.19.1
INFO: Found elm-format at node_modules.bin\elm-format.CMD
INFO: Found elm-format 0.8.5
INFO: Cleaning ./elm-stuff before upgrading
INFO: Converting elm-package.json -> elm.json
INFO: Detected an application project (this project has no exposed modules)
WARNING: MichaelCombs28/elm-mdl has not been upgraded to 0.19 yet!
INFO: Installing latest version of debois/elm-dom
-- PROBLEM WITH VERSION ----------------------------------------------- elm.json
I got stuck while reading your elm.json file. I was expecting a version number
here:
8| "elm-version": "0.19.1\r",
^
I need something like "1.0.0" or "2.0.4" that explicitly states all three
numbers!
WARNING: Failed to upgrade debois/elm-dom!
INFO: Switching from elm-community/linear-algebra (deprecated) to elm-explorations/linear-algebra
INFO: Installing latest version of elm-explorations/linear-algebra`
The text was updated successfully, but these errors were encountered:
Huh, that's interesting. I'm guessing it's due to nodejs automatic newline conversion? I'd think it'd have to be this line where things go wrong https://github.com/avh4/elm-upgrade/blob/master/upgrade.js#L130 Does fs.writeFileSync and/or JSON.stringify insert \r on Windows? If we could update that function to not do that, I'd think that should fix things.
Finally getting around to seeing if i can update an old project of mine. And for some reason the elm.json that is getting generated has a carriage return in it. This is on windows 10 with the latest elm-format, and elm, with the latest elm-upgrade.
Assistance would be appreciated.
`C:\GITHUB\PrismaPalette\gamut-commander\html>npx elm-upgrade@latest
INFO: Found elm at node_modules.bin\elm.CMD
INFO: Found elm 0.19.1
INFO: Found elm-format at node_modules.bin\elm-format.CMD
INFO: Found elm-format 0.8.5
INFO: Cleaning ./elm-stuff before upgrading
INFO: Converting elm-package.json -> elm.json
INFO: Detected an application project (this project has no exposed modules)
WARNING: MichaelCombs28/elm-mdl has not been upgraded to 0.19 yet!
INFO: Installing latest version of debois/elm-dom
-- PROBLEM WITH VERSION ----------------------------------------------- elm.json
I got stuck while reading your elm.json file. I was expecting a version number
here:
8| "elm-version": "0.19.1\r",
^
I need something like "1.0.0" or "2.0.4" that explicitly states all three
numbers!
WARNING: Failed to upgrade debois/elm-dom!
INFO: Switching from elm-community/linear-algebra (deprecated) to elm-explorations/linear-algebra
INFO: Installing latest version of elm-explorations/linear-algebra`
The text was updated successfully, but these errors were encountered: