microsoft / VoTT

Visual Object Tagging Tool: An electron app for building end to end Object Detection Models from Images and Videos.
MIT License
4.32k stars 838 forks source link

Error while installing VoTT 2.1.0 in Ubuntu 18.04 #911

Open CokeClarke opened 5 years ago

CokeClarke commented 5 years ago

Dears all, How are you? I hope really fine.

First of all I would like to apologize if my comment/issue is not properly redacted, this is my first time doing so.

The following message appears when I was following this procedure (https://github.com/Microsoft/VoTT/issues/110#issuecomment-296183197) proposed by @aribornstein


npm ERR! Linux 5.0.0-31-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" npm ERR! node v8.10.0 npm ERR! npm v3.5.2 npm ERR! code ELIFECYCLE npm ERR! vott@2.1.0 postinstall: electron-builder install-app-deps npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the vott@2.1.0 postinstall script 'electron-builder install-app-deps'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the vott package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! electron-builder install-app-deps npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs vott npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls vott npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/my-usr/VOTT/npm-debug.log


thanks a lot for your help.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

CokeClarke commented 5 years ago

To complement, after running "npm start", the following error message appears:

./node_modules/react-tag-input/dist-modules/components/ReactTags.js Module not found: Can't resolve 'react-dnd' in '/home/coke-clarke/VOTT/node_modules/react-tag-input/dist-modules/components'

Thanks

mailtohrishi commented 4 years ago

Any workaround? I am also getting exactly same problem.

vman-x commented 4 years ago

Had same issue, the following steps helped me

  1. Delete package-lock.json file and node-modules folder
  2. Clean npm cache npm cache clean --force
  3. Run npm update
  4. Run npm install
  5. Lauch via npm start
harshilishere commented 4 years ago

facing the same issue as @CokeClarke tried @IamVman twice but that gave the same error this is what is see when i try to open it..... Screenshot from 2020-05-10 11-31-24

VAM7686 commented 4 years ago

This worked for me:

  1. Navigate to the VoTT releases and download the snap file for linux.
  2. Once downloaded navigate to the file location and run sudo snap install vott-2.1.0-linux.snap --dangerous The --dangerous tag is needed since Microsoft is not distributing signed builds at the moment.

VoTT should be installed after this. Hope this helped!