Code Monkey home page Code Monkey logo

Comments (3)

mattmazzola avatar mattmazzola commented on May 27, 2024

node: v6.3.1
npm: 3.10.3

from cli.

mattmazzola avatar mattmazzola commented on May 27, 2024

Hmmm, I was able to install using WSL (Bash on Windows), but then running semantic-release setup still failed with this issue:

mattmazzola@DESKTOP-LJD93VT:/mnt/e/Repos/ts-test-package$ semantic-release setup
/usr/lib/node_modules/semantic-release/node_modules/npmconf/config-defs.js:332
  Object.keys(os.networkInterfaces()).map(function (nic) {
                 ^

Error: EINVAL: invalid argument, uv_interface_addresses
    at getLocalAddresses (/usr/lib/node_modules/semantic-release/node_modules/npmconf/config-defs.js:332:18)
    at Object.<anonymous> (/usr/lib/node_modules/semantic-release/node_modules/npmconf/config-defs.js:281:23)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/lib/node_modules/semantic-release/node_modules/npmconf/npmconf.js:4:18)

Seems there is already issue open for it:
microsoft/WSL#468

Although still would be nice to install on windows without the using WSL

from cli.

ZebraFlesh avatar ZebraFlesh commented on May 27, 2024

I had no problems with npm install -g semantic-release-cli on the following config:

  • node 10.13.0
  • npm 6.4.1
  • Windows 10 10.0.17134

Via Visual Studio Installer, I verified I don't have the Windows 8.1 SDK installed:
screen shot 2019-01-07 at 10 42 17 pm

Maybe internals have changed since the original issue report? I've also found native compilation on Windows to be problematic, where most problems stem from bad environment configuration. (Example: install via MSI, switch to chocolatey, then nvm .. this results in lots of dangling pieces in the environment which you don't notice until you hit node-gyp and things blow up.)

from cli.

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.