jupyter labのextension managerを使用し拡張機能をインストールしようとすると
Build failed with 500, please run 'jupyter lab build' on the server for full output
とエラーが出たのでanaconda promptでjupyter lab buildと入力したら今度は
An error occured. RuntimeError: JupyterLab failed to build See the log file
と表示され、ログファイルを見ても原因がわかりません。
logfile
1[1/5] Validating package.json... 2[2/5] Resolving packages... 3success Already up-to-date. 4 5[LabBuildApp] > node C:\Users\inck7\anaconda3\lib\site-packages\jupyterlab\staging\yarn.js yarn-deduplicate -s fewer --fail 6[LabBuildApp] yarn run v1.21.1 7$ C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules.bin\yarn-deduplicate -s fewer --fail 8 9[LabBuildApp] > node C:\Users\inck7\anaconda3\lib\site-packages\jupyterlab\staging\yarn.js run build:prod:minimize 10[LabBuildApp] yarn run v1.21.1 11$ webpack --config webpack.prod.minimize.config.js 12 modules by path /node_modules/13.3 MiB 13 cacheable modules 13.3 MiB 973 modules 14 3 modules 15 consume-shared-module modules 4.47 KiB 16 modules by path consume shared module (default) 17 modules by path consume shared module (default) 18 provide-module modules 4.43 KiB 108 modules 19 modules by path 20 21WARNING in /node_modules/vega-lite/build/src/index.js 22Should not import the named export 'version' (reexported as 'version') from default-exporting module (only default export is available soon) 23 24ERROR resolving fallback for shared module @lckr/jupyterlab_variableinspector Module not found Error Can't resolve '@lckr/jupyterlab_variableinspector' in 'C:\Users\inck7\anaconda3\share\jupyter\lab\staging\build' 25resolve '@lckr/jupyterlab_variableinspector' in 'C:\Users\inck7\anaconda3\share\jupyter\lab\staging\build' 26 Parsed request is a module 27 using description file: C:\Users\inck7\anaconda3\share\jupyter\lab\staging\build\package.json relative path: 28 Field 'browser' doesn't contain a valid alias configuration 29 resolve as module 30 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\build\node_modules doesn't exist or is not a directory 31 looking for modules in C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules 32 single file module 33 using description file: C:\Users\inck7\anaconda3\share\jupyter\lab\staging\package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector) 34 no extension 35 Field 'browser' doesn't contain a valid alias configuration 36 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector is not a file.js Field 'browser' doesn't contain a valid alias configuration 37 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.js doesn't exist .json Field 'browser' doesn't contain a valid alias configuration 38 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.json doesn't exist.wasm Field 'browser' doesn't contain a valid alias configuration 39 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.wasm doesn't exist existing directory C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector 40 using description file:C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\package.json (relative path: .) 41 using description file: C:\Users\inck7\anaconda3\share\jupyter\lab\staging\package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector) 42 no extension Field 'browser' doesn't contain a valid alias configuration 43 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector is not a file .js Field 'browser' doesn't contain a valid alias configuration 44 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.js doesn't exist.json Field 'browser' doesn't contain a valid alias configuration 45 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.json doesn't exist .wasm Field 'browser' doesn't contain a valid alias configuration 46 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.wasm doesn't exist as directory existing directory C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector 47 using description file: C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\package.json (relative path: .)use ./lib/index.js from main in package.json 48 using description file: C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\package.json (relative path: ./lib/index.js) no extension Field 'browser' doesn't contain a valid alias configuration 49 31mC:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js doesn't js Field 'browser' doesn't contain a valid alias configuration 50 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js.js doesn't exist.json Field 'browser' doesn't contain a valid alias configuration 51 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js.json doesn't exist .wasm Field 'browser' doesn't contain a valid alias configuration 52 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js.wasm doesn't exist as directory 53 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js doesn't exist 54 using path: C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index 55 using description file: C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\package.json (relative path: ./index) no extension Field 'browser' doesn't contain a valid alias configuration 56 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index doesn't exist .js Field 'browser' doesn't contain a valid alias configuration 57 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index.js doesn't exist.json Field 'browser' doesn't contain a valid alias configuration 58 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index.json doesn't exist .wasm Field 'browser' doesn't contain a valid alias configuration 59 C:\Users\inck7\anaconda3\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index.wasm doesn't exist 60 C:\Users\inck7\anaconda3\share\jupyter\lab\node_modules doesn't exist or is not a directory 61 C:\Users\inck7\anaconda3\share\jupyter\node_modules doesn't exist or is not a directory 62 C:\Users\inck7\anaconda3\share\node_modules doesn't exist or is not a directory 63 looking for modules in C:\Users\inck7\anaconda3\node_modules 64 single file module 65 No description file found in C:\Users\inck7\anaconda3\node_modules\@lckr or above 66 no extension 67 Field 'browser' doesn't contain a valid alias configuration 68 C:\Users\inck7\anaconda3\node_modules\@lckr\jupyterlab_variableinspector doesn't exist 69 .js Field 'browser' doesn't contain a valid alias configuration 70 C:\Users\inck7\anaconda3\node_modules\@lckr\jupyterlab_variableinspector.js doesn't exist 71 .json Field 'browser' doesn't contain a valid alias configuration 72 C:\Users\inck7\anaconda3\node_modules\@lckr\jupyterlab_variableinspector.json doesn't exist 73 .wasm Field 'browser' doesn't contain a valid alias configuration 74 C:\Users\inck7\anaconda3\node_modules\@lckr\jupyterlab_variableinspector.wasm doesn't exist 75 C:\Users\inck7\anaconda3\node_modules\@lckr\jupyterlab_variableinspector doesn't exist 76 C:\Users\inck7\node_modules doesn't exist or is not a directory 77 C:\Users\node_modules doesn't exist or is not a directory 78 C:\node_modules doesn't exist or is not a directory 79 80webpack 5.31.2 compiled with error and warning in 23978 ms
どうしたらエラーが解消されるでしょうか。
あなたの回答
tips
プレビュー