Skip to content

fix date-format version#508

Merged
jhillyerd merged 1 commit intoinbucket:mainfrom
grptx:main
Apr 22, 2024
Merged

fix date-format version#508
jhillyerd merged 1 commit intoinbucket:mainfrom
grptx:main

Conversation

@grptx
Copy link
Copy Markdown
Contributor

@grptx grptx commented Apr 14, 2024

When run yarn run build in the ui folder this error appear

$ parcel build --public-url ./
🚨 Build failed.

@parcel/elm-transformer: 
-- CORRUPT PACKAGE DATA ------------------------------------------------------- 

I downloaded the source code for ryannhg/date-format 2.3.0 from:

https://github.com/ryannhg/date-format/zipball/2.3.0/

But it looks like the hash of the archive has changed since publication:

  Expected: 70c67866fed499bec685f43f23fea279556757f2
    Actual: 86534146f5a550bb8e87b87a7484ea5732090bb5

This usually means that the package author moved the version tag, so report it
to them and see if that is the issue. Folks on Elm slack can probably help as
well.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

this because the date-format packege has been moved ( ryan-haskell/date-format#39 (comment) )

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 14, 2024

Pull Request Test Coverage Report for Build 8680994791

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 55.828%

Totals Coverage Status
Change from base Build 7979896242: 0.0%
Covered Lines: 2687
Relevant Lines: 4813

💛 - Coveralls

Signed-off-by: Roberto Rossetti <[email protected]>
@jhillyerd
Copy link
Copy Markdown
Collaborator

I can't reproduce this failure locally, not sure if I've got a hidden cache somewhere. I'm OK with this change in theory, but why did you revert the version to 1.0?

@grptx
Copy link
Copy Markdown
Contributor Author

grptx commented Apr 16, 2024

@jhillyerd the repo has been moved from ryannhg/date-format to ryan-haskell/date-format
but using version 2.3.0 (and even the latest 2.4.0) led to INCOMPATIBLE DEPENDENCIES error:

 > [frontend 8/8] RUN yarn run build:                                                                                                                                              
0.619 yarn run v1.22.19                                                                                                                                                            
0.654 $ parcel build --public-url ./                                                                                                                                               
1.574 Building...                                                                                                                                                                  
5.733 🚨 Build failed.                                                                                                                                                             
5.735 
5.740 @parcel/elm-transformer: 
5.740 -- INCOMPATIBLE DEPENDENCIES -------------------------------------------------- 
5.740 
5.740 The dependencies in your elm.json are not compatible.
5.740 
5.740 Did you change them by hand? Try to change it back! It is much more reliable to
5.740 add dependencies with elm install or the dependency management tool in
5.740 elm reactor.
5.740 
5.740 Please ask for help on the community forums if you try those paths and are still
5.740 having problems!
5.914 error Command failed with exit code 1.
5.914 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
Dockerfile:12
--------------------
  10 |     RUN rm -rf .parcel-cache dist elm-stuff node_modules
  11 |     RUN yarn install --frozen-lockfile --non-interactive
  12 | >>> RUN yarn run build
  13 |     
  14 |     ### Build backend
--------------------
ERROR: failed to solve: process "/bin/sh -c yarn run build" did not complete successfully: exit code: 1

@jhillyerd
Copy link
Copy Markdown
Collaborator

I went and re-read the discourse thread; Ryan decided to reset the version numbers, so 1.0.0 == 2.3.0

@jhillyerd jhillyerd merged commit 8826b83 into inbucket:main Apr 22, 2024
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

Successfully merging this pull request may close these issues.

3 participants