Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About LSF!! #6917

Open
Bradly-s opened this issue Jan 16, 2025 · 1 comment
Open

About LSF!! #6917

Bradly-s opened this issue Jan 16, 2025 · 1 comment

Comments

@Bradly-s
Copy link

when i run the command yarn install --frozen-lockfile,

After a long time after showing npx -y copy-files-from-to, the installation fails.
So, how to solve it?

@heidi-humansignal
Copy link
Collaborator

Hello,

Here are a few suggestions to help resolve this:

  1. Check Node & Yarn Versions:
    • Make sure you’re on Node.js 16 or 18 (other versions might cause compatibility issues).
    • Confirm your Yarn version is 1.22.x by running:
    yarn -v
  2. Start Fresh:
    • Go to your Label Studio “web” directory (or wherever you’re running the yarn command).
    • Remove the existing node_modules folder and any yarn.lock file.
    • Run:
    yarn install --frozen-lockfile
    This ensures a clean install without altering the lock file.
  3. Windows Environment Variables:
    • If you’re using Windows with Node >=17, you might need to set:
    set NODE_OPTIONS=--openssl-legacy-provider
    before installing. This prevents some crypto-related errors during builds.
  4. Look for Console Errors:
    • If the install fails again at “copy-files-from-to,” check the console for any additional error messages (for example, missing dependencies or permissions).

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants