Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npx elm-upgrade fail #71

Open
ChetHarrison opened this issue Sep 19, 2018 · 2 comments
Open

npx elm-upgrade fail #71

ChetHarrison opened this issue Sep 19, 2018 · 2 comments

Comments

@ChetHarrison
Copy link

I got this error when attempting npx elm-upgrade

$ npx elm-upgrade
{ HTTPError: Response code 404 (Not Found)
    at stream.catch.then.data (/usr/local/lib/node_modules/elm-upgrade/node_modules/got/index.js:129:13)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
  message: 'Response code 404 (Not Found)',
  host: 'package.elm-lang.org',
  hostname: 'package.elm-lang.org',
  method: 'GET',
  path: '/new-packages',
  statusCode: 404,
  statusMessage: 'Not Found' }
ERROR: Unable to connect to http://package.elm-lang.org.  Please try again later.

Any thoughts?

@avh4
Copy link
Owner

avh4 commented Sep 19, 2018

/new-packages is the path for the Elm 0.18 package website... it looks like it's running an old version of elm-upgrade? I guess maybe I don't fully understand how npx works. Does npx -p elm-upgrade@elm0.19.0 elm-upgrade work?

@ChetHarrison
Copy link
Author

Yes. Thank you

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

No branches or pull requests

2 participants