Hi, my colleague, who does the development on windows, is unable to try out the sample extensions bcos of the following error
(jupyterlab-ext) D:\Projects\jupyterA>jupyter labextension develop --overwrite .
Installing d:\projects\jupytera\jupyterA\labextension → jupyterA
Symlinking: C:\Users\olpit\miniconda3\envs\jupyterlab-ext\share\jupyter\labextensions\jupyterA → d:\projects\jupytera\jupyterA\labextension
An error occured.
OSError: [WinError 1314] A required privilege is not held by the client: ‘d:\projects\jupytera\jupyterA\labextension’ → ‘C:\Users\olpit\miniconda3\envs\jupyterlab-ext\share\ju
pyter\labextensions\jupyterA’
See the log file for details: C:\Users\olpit\AppData\Local\Temp\jupyterlab-debug-ahq3s9.log
Online search hasnt helped him yet. Whats the way out here?
i see files on D: and C:, even if whoever was running that did have admin perms, that’s game over for symlinks
Since conda is in play, I’d highly recommend creating the jupyterlab-ext env with --prefixright inside the working directory (but added to .gitignore!)
like it says, one needs some perms to create symlinks on windows.
but a quick google search for windows symlink permissions yields a fair amount of results
It could be scripting a higher-level build tool that watches the build package.json and redeploys it to {sys.prefix}/share/jupyter/labextensions/<@org/pkg> would be easier.