Open Cyurainya opened 1 year ago
Hello Cyurainya,
Is this for the front-end repo that your are trying to build LSF?
thx for your answer. I am not trying to build LSF. I just wanted to use this package. Here is the sequence of my operaions:
npm create vite@latest
npm install @heartexlabs/label-studio
then the error occured~
npm WARN ERESOLVE overriding peer dependency
npm ERR! code 127
npm ERR! path /Users/yanniscyu/Documents/test/my-app/node_modules/@heartexlabs/label-studio
npm ERR! command failed
npm ERR! command sh -c -- sh scripts/postinstall.sh
npm ERR! sh: scripts/postinstall.sh: No such file or directory
npm ERR! A complete log of this run can be found in: npm ERR! /Users/yanniscyu/.npm/_logs/2023-06-08T05_31_34_898Z-debug-0.log
@Cyurainya were you able to resolve this issue? I'm facing the same issue while installing in nuxt3 using yarn.
🥲not yet
@Cyurainya what are your observations so far? any idea about the origin of this issue?
I didn't have time to fix. Finally decided to revamp his frontend project
having the same issue on MacOS 22.5.0. Also trying to install labelstudio using npm. Just initialized the project using npm init so this is the first dependency I am trying to install. Attached the complete log. test.txt
Is it possible you can try npm install @heartexlabs/label-studio@latest
?
Is it possible you can try
npm install @heartexlabs/label-studio@latest
?
Yes. I'm trying to install LSF. I've tried with npm and yarn as well. no luck. Also I tried to use it as external script file but seems like library doesn't exist on mentioned link. Here is the link I'm using from docs. https://unpkg.com/@heartexlabs/label-studio@1.8.0/build/static/js/main.js
hey, I'm experiencing the same issue
node : v20.4.0
npm -v 9.7.2
label studio 1.8
any update on this guys , i used linux its working but in windows its not soo,same issue
Check your package.json and package-lock.json. I had differences in in some of the paths in these files.
After making the correction, the error disappeared. I just deleted them and created them again))
I have tried to remove the prepare on package.json, it worked for me now
Hi folks. I have the same issue. Here's my minimal failing example:
mkdir temp
cd temp
npm init --yes
npm install @heartexlabs/label-studio # same error with @latest
gives
npm ERR! code 2
npm ERR! path .../temp/node_modules/@heartexlabs/label-studio
npm ERR! command failed
npm ERR! command sh -c sh scripts/postinstall.sh
npm ERR! sh: 0: cannot open scripts/postinstall.sh: No such file
I can install other packages without issue. Is there something silly I'm missing?
nvm 0.39.3 npm 10.1.0 node v20.9.0
The issue is being widely reported here - https://github.com/HumanSignal/label-studio-frontend/issues/1439
The issue is with the label-studio-frontend
repo, which seems to not have the required scripts
folder expected by the build command.
https://www.npmjs.com/package/@heartexlabs/label-studio/v/1.8.0
Anyone knows how to fix this?
when I enter the command
npm install @heartexlabs/label-studio
the terminal came out the error:
my node version is v16.18.1