You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After cloning the code and entering the web directory, I executed yarn install --frozen-lockfile according to the README.md. Since I'm using a WIN10 computer, I added the command $env:NODE_ENV = "development"; yarn ls:dev. The error message is:
yarn run v1.22.22
$ nx run labelstudio:serve:development
typically indicates a compatibility issue with your Node.js version or how environment variables are set on Windows. Please try the following steps to address the issue:
Check Your Node.js and Yarn Versions:
Node.js Version:
Ensure you're using Node.js version 18.x. Versions higher than 18 may cause compatibility issues.
You can download Node.js 18.x from the official Node.js website.
Verify your Node.js version by running: node -v It should output something like v18.x.x.
Yarn Version:
Ensure you're using Yarn version 1.22.19.
Verify your Yarn version by running: yarn -v
If you need to install or update Yarn, follow the official Yarn installation instructions.
Clean Install Dependencies:
Navigate to the web directory in your Label Studio project.
Delete the node_modules folder and the yarn.lock file to ensure a clean installation.
Run the following command to install dependencies without modifying the lock file: yarn install --frozen-lockfile
Describe the bug
After cloning the code and entering the web directory, I executed yarn install --frozen-lockfile according to the README.md. Since I'm using a WIN10 computer, I added the command $env:NODE_ENV = "development"; yarn ls:dev. The error message is:
yarn run v1.22.22
$ nx run labelstudio:serve:development
NX Given napi value is not an array
Pass --verbose to see the stacktrace.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Please help me, thank you very much.
The text was updated successfully, but these errors were encountered: