Giter Club home page Giter Club logo

Comments (4)

conradz avatar conradz commented on August 30, 2024

I'm getting a similar error. I don't have any version of node or io.js installed globally. I'm using the latest nvmw commit (2c20d4c). Everytime I try to install I get this error:

A duplicate file name exists, or the file
cannot be found.
The system cannot find the path specified.
C:\Users\Conrad\.nvmw\latest
The process cannot access the file because it is being used by another process.

from nvmw.

anseki avatar anseki commented on August 30, 2024

This error is solved by adding a line to nvmw.bat.

https://github.com/hakobera/nvmw/blob/master/nvmw.bat#L158

  set "CD_ORG=%CD%"
  cd "%NODE_HOME%"

Add a line %~d0 to next of set "CD_ORG=%CD%".

  set "CD_ORG=%CD%"
  %~d0
  cd "%NODE_HOME%"

Windows (DOS) has current-DIRECTORY and current-DRIVE. cd changes a current-DIRECTORY only.

from nvmw.

simon-p-r avatar simon-p-r commented on August 30, 2024

That has worked however when using the setting path command it doesn't persist to the next shell session however because I have node installed on my path I don't think I can set persistently anyway.

set "PATH=%HOMEDRIVE%%HOMEPATH%\.nvmw;%PATH%"

from nvmw.

hakobera avatar hakobera commented on August 30, 2024

@simon-p-r @conradz This issue is solved by #39
Thanks @anseki

from nvmw.

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.