Closed Kurren123 closed 6 years ago
Hopefully this was fixed in #67.
Can you try npx -p git://github.com/avh4/elm-upgrade.git#master elm-upgrade
or npm install -g git://github.com/avh4/elm-upgrade.git#master
and see if that works?
Thanks for your response
I now get the following error, I'm guessing because there's a space in the folder path that hasn't been escaped:
npm ERR! code ENOLOCAL
npm ERR! Could not install from "Nischal\AppData\Roaming\npm-cache\_npx\2960" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Kurren Nischal\AppData\Roaming\npm-cache\_logs\2018-09-11T08_42_00_265Z-debug.log
Install for git://github.com/avh4/elm-upgrade.git#master failed with code 1
I'm guessing the folder it's looking for is
C:\Users\Kurren Nischal\AppData\Roaming\npm-cache\_npx\2960
Hmm, I'm not sure what that error means.. Maybe the npm/npx cache is corrupted? Which of the comments in https://github.com/avh4/elm-upgrade/issues/69#issuecomment-420007929 did you try?
npx -p git://github.com/avh4/elm-upgrade.git#master elm-upgrade
produced the error code. I tried npm install -g
and it worked, thanks for your help!
@Kurren123 thanks for reporting.
npm i -g elm-upgrade
worked for me as well.
I'm experiencing the same syncprompt native compilation problem with npx elm-upgrade@latest
or npm i -g elm-upgrade@latest
on Windows 10.
Did the #67 not make it to the npm feed or am I somehow getting an old version? NPM package is still version 0.19.6, which explains that. See #77.
System: windows 10 npm version:
When I run
npx elm-upgrade
And
npm install -g elm-upgrade
I do have python installed and it's on my PATH