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
I haven't been able to find a resolution to this issue anywhere. I've exhausted my ability to troubleshoot and google so I hope someone here can assist.
Describe the bug
I am trying to install a jupyterlab extension but get vague file-lock errors when I run jupyter labextension install @jupyter-widgets/jupyterlab-manager@0.38 --debug. After banging my head on it I finally wised up and ran jupyter labextension list and found that the extension shows up with a 'Build recommended' message. I ran the build and received the following errors
PS D:\GSA_Projects\Jupyter> jupyter-lab build
[LabBuildApp] JupyterLab 0.35.6
[LabBuildApp] Cleaning c:\programdata\anaconda3\share\jupyter\lab
Cleaning c:\programdata\anaconda3\share\jupyter\lab...
Success!
[LabBuildApp] Building in c:\programdata\anaconda3\share\jupyter\lab
[LabBuildApp] Node v12.3.1
[LabBuildApp] > node c:\programdata\anaconda3\lib\site-packages\jupyterlab\staging\yarn.js install
yarn install v1.9.4
error An unexpected error occurred: "Invalid value type 1:10 in c:\\programdata\\anaconda3\\share\\jupyter\\lab\\staging\\.yarnrc".
info If you think this is a bug, please open a bug report with the information provided in "c:\\programdata\\anaconda3\\share\\jupyter\\lab\\staging\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[LabBuildApp] > node c:\programdata\anaconda3\lib\site-packages\jupyterlab\staging\yarn.js run build
yarn run v1.9.4
error An unexpected error occurred: "Invalid value type 1:10 in c:\\programdata\\anaconda3\\share\\jupyter\\lab\\staging\\.yarnrc".
info If you think this is a bug, please open a bug report with the information provided in "c:\\programdata\\anaconda3\\share\\jupyter\\lab\\staging\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I checked the referenced file: c:\programdata\anaconda3\share\jupyter\lab\staging\.yarnrc
and found that it contains only: yarn-path "C:\Users<MYUSERNAME>\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js"
I assume the issue is the unescaped backslashes. Guessing this, I tried changing the variable to yarn-path "C:\Users\\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js"
I don't know if this would have resolved the issue, as the build process seems to overwrite the file rather than taking the values passed. I tried adding a .yarnrc file in my project folder with the yarn-path as well, but that didn't seem to make a difference at all.
I searched to find whether there was a variable somewhere which this path was being pulled from with the intention of changing it to an escaped path, but couldn't figure out where it was being pulled from.
Hi there!
I haven't been able to find a resolution to this issue anywhere. I've exhausted my ability to troubleshoot and google so I hope someone here can assist.
Describe the bug
I am trying to install a jupyterlab extension but get vague file-lock errors when I run
jupyter labextension install @jupyter-widgets/jupyterlab-manager@0.38 --debug
. After banging my head on it I finally wised up and ranjupyter labextension list
and found that the extension shows up with a 'Build recommended' message. I ran the build and received the following errorsI checked the referenced file: c:\programdata\anaconda3\share\jupyter\lab\staging\.yarnrc
and found that it contains only: yarn-path "C:\Users<MYUSERNAME>\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js"
I assume the issue is the unescaped backslashes. Guessing this, I tried changing the variable to yarn-path "C:\Users\\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js"
I don't know if this would have resolved the issue, as the build process seems to overwrite the file rather than taking the values passed. I tried adding a .yarnrc file in my project folder with the yarn-path as well, but that didn't seem to make a difference at all.
I searched to find whether there was a variable somewhere which this path was being pulled from with the intention of changing it to an escaped path, but couldn't figure out where it was being pulled from.
To Reproduce
Install jupyter and jupyterlab using the guide here https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html
Run command
jupyter labextension install @jupyter-widgets/jupyterlab-manager@0.38 --debug
Run command
jupyter lab build
orjupyter-lab build
Expected behavior
I expect the jupyterlab extension to be installed and the build to run cleanly/complete without terminating errors.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
If available, please include the following details:
Troubleshoot Output
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: