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

reinstall-packages-from arg parsing #1760

Closed
brigand opened this issue Mar 13, 2018 · 0 comments
Closed

reinstall-packages-from arg parsing #1760

brigand opened this issue Mar 13, 2018 · 0 comments
Labels
bugs Oh no, something's broken :-(

Comments

@brigand
Copy link
Contributor

brigand commented Mar 13, 2018

  • Operating system and version:

OSX

  • nvm debug output:
$SHELL: /bin/zsh
$NVM_DIR: $HOME/.nvm
nvm current: v8.10.0
which node: $NVM_DIR/versions/node/v8.10.0/bin/node
which iojs: iojs not found
which npm: $NVM_DIR/versions/node/v8.10.0/bin/npm
npm config get prefix: $NVM_DIR/versions/node/v8.10.0
npm root -g: $NVM_DIR/versions/node/v8.10.0/lib/node_modules
  • nvm ls output:
       v0.10.48
        v0.12.2
         v4.2.2
        v6.11.0
        v7.10.0
         v8.9.0
->      v8.10.0
         v9.3.0
         v9.5.0
         system
default -> 8 (-> v8.10.0)
io -> iojs (-> N/A)
node -> stable (-> v9.5.0) (default)
stable -> 9.5 (-> v9.5.0) (default)
iojs -> iojs- (-> N/A) (default)
  • How did you install nvm? (e.g. install script in readme, Homebrew):

Script from readme.

  • What steps did you perform?

Note: there's no = in the following command.

$ nvm install 8.4.0 --reinstall-packages-from 8.10.0
######################################################################## 100.0%
Checksums empty
Now using node v8.4.0 (npm v5.3.0
  • What happened?
$ ls ~/.nvm/versions/node/v8.4.0/lib/node_modules
npm
  • What did you expect to happen?

I expected it to either copy over the packages, or give an error because I didn't include the =.

cc @ljharb

@ljharb ljharb added the bugs Oh no, something's broken :-( label Mar 14, 2018
@ljharb ljharb closed this as completed in 0e3bb2c Mar 14, 2018
wzrdtales pushed a commit to wzrdtales/nvm-ng that referenced this issue Mar 17, 2018
edwmurph pushed a commit to edwmurph/nvm that referenced this issue Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugs Oh no, something's broken :-(
Projects
None yet
Development

No branches or pull requests

2 participants