versions
jupyter-core 4.7.1
jupyter lab 3.0.16
conda version : 4.10.3
node 14.17.3
npm 6.14.13
jupyter labを新しく使用したいと考えjupyter notebookから移行しようとしている者です。
他の拡張機能は問題なく使えております。
便利な@lckr/jupyterlab_variableinspectorをインストールしようと思うのですが
jupyter labextension install @lckr/jupyterlab_variableinspector
を実行すると
(base) matsusesatoshi@matsusesatoshinoMacBook-puro ~ % jupyter labextension install @lckr/jupyterlab_variableinspector Building jupyterlab assets (production, minimized) An error occured. RuntimeError: JupyterLab failed to build See the log file for details: /var/folders/ll/cdp3xh194t7_9c631lm07yx00000gn/T/jupyterlab-debug-0an40nwu.log
といったエラーではじかれてしまします。
試したことは
node,npmの再インストール
jupyter, jupyter-core の再インストール
build_config.jsonの削除及び再インストール
インターネットで検索し、できそうなことは試したのですが何がいけないのでしょうか...
ご回答あるいは、ほかの似たような拡張機能を知ってらっしゃったら教えていただけると嬉しいです。
logの内容でエラーを吐いている内容は下に記します。
ERROR in resolving fallback for shared module @lckr/jupyterlab_variableinspector Module not found: Error: Can't resolve '@lckr/jupyterlab_variableinspector' in '/opt/anaconda3/share/jupyter/lab/staging/build' resolve '@lckr/jupyterlab_variableinspector' in '/opt/anaconda3/share/jupyter/lab/staging/build' Parsed request is a module using description file: /opt/anaconda3/share/jupyter/lab/staging/build/package.json (relative path: .) Field 'browser' doesn't contain a valid alias configuration resolve as module /opt/anaconda3/share/jupyter/lab/staging/build/node_modules doesn't exist or is not a directory looking for modules in /opt/anaconda3/share/jupyter/lab/staging/node_modules single file module using description file: /opt/anaconda3/share/jupyter/lab/staging/package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector) no extension Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector is not a file .js Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.js doesn't exist .json Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.json doesn't exist .wasm Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.wasm doesn't exist existing directory /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector using description file: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/package.json (relative path: .) using description file: /opt/anaconda3/share/jupyter/lab/staging/package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector) no extension Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector is not a file .js Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.js doesn't exist .json Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.json doesn't exist .wasm Field 'browser' doesn't contain a valid alias configuration /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.wasm doesn't exist as directory existing directory /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector using description file: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/package.json (relative path: .) use ./lib/index.js from main in package.json using description file: /opt/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 /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js doesn't exist .js Field 'browser' doesn't contain a valid alias configuration /opt/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 /opt/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 /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js.wasm doesn't exist as directory /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js doesn't exist using path: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index using description file: /opt/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 /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index doesn't exist .js Field 'browser' doesn't contain a valid alias configuration /opt/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 /opt/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 /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index.wasm doesn't exist /opt/anaconda3/share/jupyter/lab/node_modules doesn't exist or is not a directory /opt/anaconda3/share/jupyter/node_modules doesn't exist or is not a directory /opt/anaconda3/share/node_modules doesn't exist or is not a directory /opt/anaconda3/node_modules doesn't exist or is not a directory /opt/node_modules doesn't exist or is not a directory /node_modules doesn't exist or is not a directory webpack 5.31.2 compiled with 1 error and 1 warning in 25282 ms JupyterLab failed to build Traceback (most recent call last): File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging yield File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/labextensions.py", line 133, in start build(clean_staging=self.should_clean, File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/commands.py", line 469, in build return handler.build(name=name, version=version, static_url=static_url, File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/commands.py", line 678, in build raise RuntimeError(msg) RuntimeError: JupyterLab failed to build Exiting application: lab
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/07/13 07:21