pderoovere / dimo-labeling

Tool for labeling 6D object poses in multi-view RBJ images
Creative Commons Zero v1.0 Universal
10 stars 2 forks source link

bug found on bop branch for nvm use command #2

Closed monajalal closed 5 months ago

monajalal commented 5 months ago
(base) mona@DOS:~/dimo-labeling/frontend$ nvm use
No .nvmrc file found
Please see `nvm --help` or https://github.com/nvm-sh/nvm#nvmrc for more information.
monajalal commented 5 months ago

This was my process in fixing the issue. Please let me know if you may have any feedback

dimo-labeling) mona@DOS:~/dimo-labeling$ find . -name ".nvmrc"
(dimo-labeling) mona@DOS:~/dimo-labeling$ node -v
v12.22.9
(dimo-labeling) mona@DOS:~/dimo-labeling$ cd frontend/
(dimo-labeling) mona@DOS:~/dimo-labeling/frontend$ ls
total 520K
-rw-rw-r-- 1 mona mona 471K Mar 21 23:36 package-lock.json
-rw-rw-r-- 1 mona mona 1.3K Mar 21 23:36 package.json
-rw-rw-r-- 1 mona mona  604 Mar 21 23:36 .gitignore
-rw-rw-r-- 1 mona mona  419 Mar 21 23:36 frontend.iml
-rw-rw-r-- 1 mona mona  274 Mar 21 23:36 .editorconfig
-rw-rw-r-- 1 mona mona  703 Mar 21 23:36 .browserslistrc
-rw-rw-r-- 1 mona mona 3.5K Mar 21 23:36 angular.json
-rw-rw-r-- 1 mona mona  333 Mar 21 23:36 tsconfig.spec.json
-rw-rw-r-- 1 mona mona  783 Mar 21 23:36 tsconfig.json
-rw-rw-r-- 1 mona mona  287 Mar 21 23:36 tsconfig.app.json
drwxrwxr-x 5 mona mona 4.0K Mar 21 23:36 src
drwxrwxr-x 3 mona mona 4.0K Mar 21 23:36 .
drwxrwxr-x 7 mona mona 4.0K Mar 21 23:38 ..
(dimo-labeling) mona@DOS:~/dimo-labeling/frontend$ vi .nvmrc
(dimo-labeling) mona@DOS:~/dimo-labeling/frontend$ nvm use
Found '/home/mona/dimo-labeling/frontend/.nvmrc' with version <v12.22.9>
N/A: version "v12.22.9" is not yet installed.

You need to run `nvm install` to install and use the node version specified in `.nvmrc`.
(dimo-labeling) mona@DOS:~/dimo-labeling/frontend$ nvm install
Found '/home/mona/dimo-labeling/frontend/.nvmrc' with version <v12.22.9>
Downloading and installing node v12.22.9...
Downloading https://nodejs.org/dist/v12.22.9/node-v12.22.9-linux-x64.tar.xz...
###################################################################################################################################### 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v12.22.9 (npm v6.14.15)
Creating default alias: default -> v12.22.9
(dimo-labeling) mona@DOS:~/dimo-labeling/frontend$ nvm use
Found '/home/mona/dimo-labeling/frontend/.nvmrc' with version <v12.22.9>
Now using node v12.22.9 (npm v6.14.15)
pderoovere commented 5 months ago

Hi @monajalal,

Thanks for your feedback. The file seems to be there, on the bop-compatibility branch. As this file does not exist on main, are you sure you were using this branch?