nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.62k stars 1.42k forks source link

[BUG] - Cannot use .nvmrc #2794

Closed atharva-upadhye closed 3 weeks ago

atharva-upadhye commented 5 months ago

NextUI Version

2

Describe the bug

When executing the command nvm use before installing project dependencies, nvm is unable to switch to the recommended version of node.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Clone the repository
  2. Execute command nvm install. (nvm must be installed on your system)
  3. See error

Expected behavior

As a use I expected to get output as:

Found 'PATH_TO_CLONED_REPO_DIRECTORY/.nvmrc' with version <16.*>
Downloading and installing node v16.20.2...
Local cache found: ${NVM_DIR}/.cache/bin/node-v16.20.2-linux-x64/node-v16.20.2-linux-x64.tar.xz
Checksums match! Using existing downloaded archive ${NVM_DIR}/.cache/bin/node-v16.20.2-linux-x64/node-v16.20.2-linux-x64.tar.xz
Now using node v16.20.2 (npm v8.19.4)

But I am seeing:

Found 'PATH_TO_CLONED_REPO_DIRECTORY/.nvmrc' with version <16.x>
Version '16.x' not found - try `nvm ls-remote` to browse available versions.

Screenshots or Videos

No response

Operating System Version

Browser

Other (add additonal context)

linear[bot] commented 5 months ago

ENG-674 [BUG] - Cannot use .nvmrc