Giter Club home page Giter Club logo

Comments (3)

felixrieseberg avatar felixrieseberg commented on May 13, 2024

Het, thanks for reporting! I'm a little bit baffled - I'm not entirely sure what is going on. To help you to upgrade (and me to understand what happened here), can you try the following two things:

  1. Run npm view npm versions --json. That's what's failing here, and I'd love to know why - that being said, we don't really need it.
  2. So if nothing else fails miserably, this should work npm-windows-upgrade --version:3.1.0

from npm-windows-upgrade.

laggingreflex avatar laggingreflex commented on May 13, 2024

Thanks for the response.

  1. It gives a long array of versions going from "1.1.25" to "3.1.2" (including "3.1.0")
  2. That command gives the same error as well.

I put a console.log(stdout) at line 71 and its output has that character at the beginning for some reason (the rest of the output the fine, i.e. the array of versions). I have no idea why though...

scr


My node is v0.12 and I also have iojs installed which is v2.3. I've tested with both separately and in different test scripts and they both produce that strange character for exec's stdout.

scr2


I apologize in advance if this is an issue at my end. I've asked a question on SO regarding the same.

from npm-windows-upgrade.

felixrieseberg avatar felixrieseberg commented on May 13, 2024

...I'm so confused. I really wish I could help you, but I have no idea why that's happening.

To help you: The upgrader is essentially just a small ps1 script that you can also run manually. If you open C:\...\AppData\Roaming\npm\node_modules\npm-windows-upgrade\powershell, you can run the upgrade-npm.ps1 script directly, bypassing Node. Be warned though, that ♀ character isn't giving me great confidence ;)

from npm-windows-upgrade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.