-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
yarn start inside a script failed with error Could not write file #8652
Comments
From which user are you executing the script? And what exactly is |
Thanks for your help. I'm running the script as a user not root if that's what you're asking. singularity is a container just like docker so I'm running it inside a singularity container which contains its own OS. |
Looks like a filesystem error instead of a Yarn error. |
Hi,
I am trying to run yarn inside a script as follows:
sbatch --time=10:00 --wrap "singularity exec $momig_frontend_img bash -c 'cd /opt/MoMI-G && yarn start'"
but got this error:
However, the following command works:
singularity exec $momig_frontend_img bash -c 'cd /opt/MoMI-G && yarn start'
What do I have to do to run
yarn start
inside a script?Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: