Closed jwindgassen closed 1 year ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
@jwindgassen the error trace is quite verbose. But the root cause of your error is:
error https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "Unknown system error -122: Unknown system error -122, open '/p/home/jusers/windgassen1/juwels/.cache/yarn/v6/[npm-@typescript-eslint-typescript-estree-4.33.0-0dfb51c2908f68c5c08d82aefeaf166a17c24609-integrity](mailto:npm-@typescript-eslint-typescript-estree-4.33.0-0dfb51c2908f68c5c08d82aefeaf166a17c24609-integrity)/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map'"
It seems like a transient error. Did you hit the error by retrying?
All tries I did ended in some error like that, but the exact package might differ. I took a look at the .cache
folder, but yarn/v6/<package-name>/node_modules
is empty. So that is probably the reason the opening fails. But I can't see any immediate reason for the directory being empty.
Note: I changed the Versions I am using and adjusted the log accordingly (But the error is still the same). I added the yarn-error.log above, as it is mentioned now.
Have you tried cleaning your cache: https://classic.yarnpkg.com/en/docs/cli/cache#toc-yarn-cache-clean
Already did, yes. I also made sure the directories are writable and that I have enough space on disk.
Looking again at your error trace, you have an OS error: Unknown system error -122
Googling it: https://www.google.com/search?q=Linux+%22Unknown+system+error+-122%22 points most of the time toward having too little disk space.
I found the problem: It was not really a disk-space issue, but the number of inodes that were problematic. I think I had ~30k inodes left, which I thought was plenty, but I just vastly underestimated the number of inodes required. When I redirected the yarn cache directory to another location with enough inodes free, the error disappeared!
Thanks @jwindgassen for coming back sharing the final root cause (and fix).
Description
I am trying to create a JupyterLab extension generated with this template, but as soon as I try to execute
pip install -e .
(as described in the README), I get yarn errors during thePreparing editable metadata
step.As far as I can tell, yarn has trouble installing downloading/installing packages on our system, but I was unable to find any reason why: All related directories and files are read- and writable and there should be enough diskspace. It might also be an error inside hatch-jupyter-builder or inside the Node.js installation on our system, but I am not able to pinpoint the main culprit for the error.
Options used during cookiecutter:
Context
System: JUWELS Booster (Rocky Linux) JupyterLab Version: 3.6.3 Python Version: 3.10.4 Node.js Version: 16.15.1 Yarn Version: 1.22.19
Log
Command Line Output
yarn-error.log