label-studio-frontend
label-studio-frontend copied to clipboard
Error installling depedencies
I get a series of npm errors when using npm install, starting from npm ERR! code EACCES. Yarn install too gets failed with errors. I tried cleaning running as sudo, cleaning cache, rm -rf node_modules, but nothing works.
Any logs?
➤ YN0000: ┌ Resolution step
➤ YN0060: │ @heartexlabs/label-studio@workspace:. provides react (p80ff0) with version 17.0.2, which doesn't satisfy what @wojtekmaj/enzyme-adapter-react-17 and some of its descendants request
➤ YN0060: │ @heartexlabs/label-studio@workspace:. provides react (pdaf67) with version 17.0.2, which doesn't satisfy what mobx-react and some of its descendants request
➤ YN0060: │ @heartexlabs/label-studio@workspace:. provides react (p93988) with version 17.0.2, which doesn't satisfy what react-sortable-hoc requests
➤ YN0060: │ @heartexlabs/label-studio@workspace:. provides react (p6c799) with version 17.0.2, which doesn't satisfy what react-test-renderer requests
➤ YN0060: │ @heartexlabs/label-studio@workspace:. provides react-dom (pa52c4) with version 17.0.2, which doesn't satisfy what react-sortable-hoc requests
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements
Hey @Jaisurya-actyv, I hope everything is going well.
Can you run this yarn explain peer-requirements
and send to me the log? Also what is the version of LS you are using?
I believe #1264 is related. I was able to get the install to work using yarn v1, which is less strict about dependency version matching.
I have successfully built the library on macOS using yarn add @heartexlabs/label-studio
. YMMV.