python:jupyterlab:extension_dev

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
python:jupyterlab:extension_dev [2025/04/16 06:43] – [拡張機能のインストールとシンボルリンク作成] ともやんpython:jupyterlab:extension_dev [2025/04/21 04:54] (現在) – [package.json、pyproject.toml を Deno 対応する] ともやん
行 6413: 行 6413:
 </WRAP> </WRAP>
  
-==== 参考ソースコード ====+==== 参考: 最新ドキュメント & ソースコード ==== 
 +[[rtd>jupyterlab.readthedocs.io/en/latest/index.html|JupyterLab Documentation — JupyterLab latest documentation]]\\ 
 +[[rtd>jupyterlab.readthedocs.io/en/latest/api/modules.html|@jupyterlab — JupyterLab latest documentation]]\\ 
 JupyterLab のソースコードは公開されているので、古いドキュメントやネットの文献に惑わされることなく、最新のソースコードから推測で実装可能である😉\\ JupyterLab のソースコードは公開されているので、古いドキュメントやネットの文献に惑わされることなく、最新のソースコードから推測で実装可能である😉\\
 [[git>jupyterlab/extension-examples/|jupyterlab/extension-examples: JupyterLab Extensions by Examples]]\\ [[git>jupyterlab/extension-examples/|jupyterlab/extension-examples: JupyterLab Extensions by Examples]]\\
行 6835: 行 6838:
  
 === package.json、pyproject.toml を Deno 対応する === === package.json、pyproject.toml を Deno 対応する ===
-''package.json'' を編集して ''jlpm'' を ''deno run -A'' に置き換える🤔\\+''package.json'' を編集して ''jlpm'' を ''deno run'' に置き換える🤔\\
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
行 6857: 行 6860:
 <font color="#F92672">       &quot;build&quot;: &quot;jlpm build:lib &amp;&amp; jlpm build:labextension:dev&quot;,</font> <font color="#F92672">       &quot;build&quot;: &quot;jlpm build:lib &amp;&amp; jlpm build:labextension:dev&quot;,</font>
 <font color="#F92672">       &quot;build:prod&quot;: &quot;jlpm clean &amp;&amp; jlpm build:lib:prod &amp;&amp; jlpm build:labextension&quot;,</font> <font color="#F92672">       &quot;build:prod&quot;: &quot;jlpm clean &amp;&amp; jlpm build:lib:prod &amp;&amp; jlpm build:labextension&quot;,</font>
-<font color="#A6E22E">       &quot;build&quot;: &quot;deno run -A build:lib &amp;&amp; deno run -A build:labextension:dev&quot;,</font> +<font color="#A6E22E">       &quot;build&quot;: &quot;deno run build:lib &amp;&amp; deno run build:labextension:dev&quot;,</font> 
-<font color="#A6E22E">       &quot;build:prod&quot;: &quot;deno run -A clean &amp;&amp; deno run -A build:lib:prod &amp;&amp; deno run -A build:labextension&quot;,</font>+<font color="#A6E22E">       &quot;build:prod&quot;: &quot;deno run clean &amp;&amp; deno run build:lib:prod &amp;&amp; deno run build:labextension&quot;,</font>
 <font color="#F8F8F2">         &quot;build:labextension&quot;: &quot;jupyter labextension build .&quot;,</font> <font color="#F8F8F2">         &quot;build:labextension&quot;: &quot;jupyter labextension build .&quot;,</font>
 <font color="#F8F8F2">         &quot;build:labextension:dev&quot;: &quot;jupyter labextension build --development True .&quot;,</font> <font color="#F8F8F2">         &quot;build:labextension:dev&quot;: &quot;jupyter labextension build --development True .&quot;,</font>
行 6864: 行 6867:
 <font color="#F8F8F2">         &quot;build:lib:prod&quot;: &quot;tsc&quot;,</font> <font color="#F8F8F2">         &quot;build:lib:prod&quot;: &quot;tsc&quot;,</font>
 <font color="#F92672">       &quot;clean&quot;: &quot;jlpm clean:lib&quot;,</font> <font color="#F92672">       &quot;clean&quot;: &quot;jlpm clean:lib&quot;,</font>
-<font color="#A6E22E">       &quot;clean&quot;: &quot;deno run -A clean:lib&quot;,</font>+<font color="#A6E22E">       &quot;clean&quot;: &quot;deno run clean:lib&quot;,</font>
 <font color="#F8F8F2">         &quot;clean:lib&quot;: &quot;rimraf lib tsconfig.tsbuildinfo&quot;,</font> <font color="#F8F8F2">         &quot;clean:lib&quot;: &quot;rimraf lib tsconfig.tsbuildinfo&quot;,</font>
 <font color="#F8F8F2">         &quot;clean:lintcache&quot;: &quot;rimraf .eslintcache .stylelintcache&quot;,</font> <font color="#F8F8F2">         &quot;clean:lintcache&quot;: &quot;rimraf .eslintcache .stylelintcache&quot;,</font>
行 6870: 行 6873:
 <font color="#F92672">       &quot;clean:all&quot;: &quot;jlpm clean:lib &amp;&amp; jlpm clean:labextension &amp;&amp; jlpm clean:lintcache&quot;,</font> <font color="#F92672">       &quot;clean:all&quot;: &quot;jlpm clean:lib &amp;&amp; jlpm clean:labextension &amp;&amp; jlpm clean:lintcache&quot;,</font>
 <font color="#F92672">       &quot;eslint&quot;: &quot;jlpm eslint:check --fix&quot;,</font> <font color="#F92672">       &quot;eslint&quot;: &quot;jlpm eslint:check --fix&quot;,</font>
-<font color="#A6E22E">       &quot;clean:all&quot;: &quot;deno run -A clean:lib &amp;&amp; deno run -A clean:labextension &amp;&amp; deno run -A clean:lintcache&quot;,</font> +<font color="#A6E22E">       &quot;clean:all&quot;: &quot;deno run clean:lib &amp;&amp; deno run clean:labextension &amp;&amp; deno run clean:lintcache&quot;,</font> 
-<font color="#A6E22E">       &quot;eslint&quot;: &quot;deno run -A eslint:check --fix&quot;,</font>+<font color="#A6E22E">       &quot;eslint&quot;: &quot;deno run eslint:check --fix&quot;,</font>
 <font color="#F8F8F2">         &quot;eslint:check&quot;: &quot;eslint . --cache --ext .ts,.tsx&quot;,</font> <font color="#F8F8F2">         &quot;eslint:check&quot;: &quot;eslint . --cache --ext .ts,.tsx&quot;,</font>
 <font color="#F92672">       &quot;install:extension&quot;: &quot;jlpm build&quot;,</font> <font color="#F92672">       &quot;install:extension&quot;: &quot;jlpm build&quot;,</font>
行 6877: 行 6880:
 <font color="#F92672">       &quot;lint:check&quot;: &quot;jlpm stylelint:check &amp;&amp; jlpm prettier:check &amp;&amp; jlpm eslint:check&quot;,</font> <font color="#F92672">       &quot;lint:check&quot;: &quot;jlpm stylelint:check &amp;&amp; jlpm prettier:check &amp;&amp; jlpm eslint:check&quot;,</font>
 <font color="#F92672">       &quot;prettier&quot;: &quot;jlpm prettier:base --write --list-different&quot;,</font> <font color="#F92672">       &quot;prettier&quot;: &quot;jlpm prettier:base --write --list-different&quot;,</font>
-<font color="#A6E22E">       &quot;install:extension&quot;: &quot;deno run -A build&quot;,</font> +<font color="#A6E22E">       &quot;install:extension&quot;: &quot;deno run build&quot;,</font> 
-<font color="#A6E22E">       &quot;lint&quot;: &quot;deno run -A stylelint &amp;&amp; deno run -A prettier &amp;&amp; deno run -A eslint&quot;,</font> +<font color="#A6E22E">       &quot;lint&quot;: &quot;deno run stylelint &amp;&amp; deno run prettier &amp;&amp; deno run eslint&quot;,</font> 
-<font color="#A6E22E">       &quot;lint:check&quot;: &quot;deno run -A stylelint:check &amp;&amp; deno run -A prettier:check &amp;&amp; deno run -A eslint:check&quot;,</font> +<font color="#A6E22E">       &quot;lint:check&quot;: &quot;deno run stylelint:check &amp;&amp; deno run -A prettier:check &amp;&amp; deno run eslint:check&quot;,</font> 
-<font color="#A6E22E">       &quot;prettier&quot;: &quot;deno run -A prettier:base --write --list-different&quot;,</font>+<font color="#A6E22E">       &quot;prettier&quot;: &quot;deno run prettier:base --write --list-different&quot;,</font>
 <font color="#F8F8F2">         &quot;prettier:base&quot;: &quot;prettier \&quot;**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\&quot;&quot;,</font> <font color="#F8F8F2">         &quot;prettier:base&quot;: &quot;prettier \&quot;**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\&quot;&quot;,</font>
 <font color="#F92672">       &quot;prettier:check&quot;: &quot;jlpm prettier:base --check&quot;,</font> <font color="#F92672">       &quot;prettier:check&quot;: &quot;jlpm prettier:base --check&quot;,</font>
 <font color="#F92672">       &quot;stylelint&quot;: &quot;jlpm stylelint:check --fix&quot;,</font> <font color="#F92672">       &quot;stylelint&quot;: &quot;jlpm stylelint:check --fix&quot;,</font>
-<font color="#A6E22E">       &quot;prettier:check&quot;: &quot;deno run -A prettier:base --check&quot;,</font> +<font color="#A6E22E">       &quot;prettier:check&quot;: &quot;deno run prettier:base --check&quot;,</font> 
-<font color="#A6E22E">       &quot;stylelint&quot;: &quot;deno run -A stylelint:check --fix&quot;,</font>+<font color="#A6E22E">       &quot;stylelint&quot;: &quot;deno run stylelint:check --fix&quot;,</font>
 <font color="#F8F8F2">         &quot;stylelint:check&quot;: &quot;stylelint --cache \&quot;style/**/*.css\&quot;&quot;,</font> <font color="#F8F8F2">         &quot;stylelint:check&quot;: &quot;stylelint --cache \&quot;style/**/*.css\&quot;&quot;,</font>
 <font color="#F8F8F2">         &quot;test&quot;: &quot;jest --coverage&quot;,</font> <font color="#F8F8F2">         &quot;test&quot;: &quot;jest --coverage&quot;,</font>
行 8736: 行 8739:
  
 ===== トラブルシューティング ===== ===== トラブルシューティング =====
 +
 +==== ModuleNotFoundError で --overwrite できない...🤔 ====
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">jupyter</font><font color="#999999"> labextension develop </font><font color="#A347BA">--overwrite</font><font color="#999999"> </font><font color="#999999"><u style="text-decoration-style:solid">.</u></font>
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre>
 +/home/tomoyan/miniforge3/envs/jupyterlab/lib/python3.13/site-packages/jupyterlab/debuglog.py:54: UserWarning: An error occurred.
 +  warnings.warn(&quot;An error occurred.&quot;)
 +/home/tomoyan/miniforge3/envs/jupyterlab/lib/python3.13/site-packages/jupyterlab/debuglog.py:55: UserWarning: ModuleNotFoundError: There is no labextension at .. Errors encountered: [TypeError(&quot;the &apos;package&apos; argument is required to perform a relative import for &apos;.&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter_theme_editor&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter_theme_editor&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter_theme_editor&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter-config&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter_theme_editor&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;schema&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter-config&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter-config&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter_theme_editor&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter_theme_editor&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter_theme_editor&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter_theme_editor&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter_theme_editor&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;jupyter_theme_editor&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@microsoft&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.mkdirp&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.npm-run-all&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.react&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.stylelint-config-prettier&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@hello-pangea&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.coreutils&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.coreutils&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.coreutils&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.services&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@jupyterlab.ui-components&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@microsoft&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@microsoft&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@microsoft&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@microsoft&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.@rjsf&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.mkdirp&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.mkdirp&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.npm-run-all&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.npm-run-all&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.npm-run-all&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.npm-run-all&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.npm-run-all&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.npm-run-all&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.npm-run-all&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.react&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.react&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.rimraf.dist.cjs&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.rimraf.dist.mjs&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.rimraf.dist.cjs&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.stylelint-config-prettier&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.stylelint-config-prettier&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.stylelint-config-prettier&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.stylelint-config-prettier&apos;&quot;), ModuleNotFoundError(&quot;No module named &apos;node_modules.stylelint-config-prettier&apos;&quot;)]
 +  warnings.warn(msg[-1].strip())
 +/home/tomoyan/miniforge3/envs/jupyterlab/lib/python3.13/site-packages/jupyterlab/debuglog.py:56: UserWarning: See the log file for details: /tmp/jupyterlab-debug-pcvvwiam.log
 +  warnings.warn(f&quot;See the log file for details: {log_path!s}&quot;)
 +</pre></html></WRAP>
 +</WRAP>
 +
 +おそらく extension をアンインストールせずに移動したのが原因です😅\\
 +''%%--%%overwrite'' のシンボルリンクがリンク切れして、Jupyter が認識できていない🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ll</font><font color="#999999"> </font><font color="#999999"><u style="text-decoration-style:solid">~/miniforge3/envs/jupyterlab/share/jupyter/labextensions/</u></font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +合計 8
 +drwxr-xr-x 1 tomoyan tomoyan  26  4月 15 12:14 <font color="#2A7BDE"><b>@jupyter-notebook</b></font>
 +drwxr-xr-x 1 tomoyan tomoyan  36  4月 15 12:14 <font color="#2A7BDE"><b>@jupyter-widgets</b></font>
 +drwxr-xr-x 1 tomoyan tomoyan  46  4月 15 12:14 <font color="#2A7BDE"><b>@timkpaine</b></font>
 +drwxr-xr-x 1 tomoyan tomoyan 102  4月 18 04:00 <font color="#2A7BDE"><b>jupyter-fs</b></font>
 +lrwxrwxrwx 1 tomoyan tomoyan  95  4月 19 07:36 <span style="background-color:#171421"><font color="#F66151"><b>jupyter-theme-editor</b></font></span> -&gt; <span style="background-color:#171421"><font color="#F66151"><b>/home/tomoyan/my_projects/jupyter-src/jupyterlab-theme-editor/jupyter_theme_editor/labextension</b></font></span>
 +lrwxrwxrwx 1 tomoyan tomoyan 102  4月 18 04:59 <font color="#33C7DE"><b>jupyter_tomoyan_extension</b></font> -&gt; <font color="#2A7BDE"><b>/home/tomoyan/my_projects/jupyter-src/jupyter-tomoyan-extension/jupyter_tomoyan_extension/labextension</b></font>
 +drwxr-xr-x 1 tomoyan tomoyan  74  4月 18 03:58 <font color="#2A7BDE"><b>jupyterlab-unfold</b></font>
 +drwxr-xr-x 1 tomoyan tomoyan  60  4月 15 12:14 <font color="#2A7BDE"><b>jupyterlab_pygments</b></font>
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">jupyter</font> labextension list
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +JupyterLab v4.4.0
 +/home/tomoyan/miniforge3/envs/jupyterlab/share/jupyter/labextensions
 +        jupyterlab_pygments v0.3.0 <font color="#26A269">enabled</font> <font color="#26A269">OK</font> (python, jupyterlab_pygments)
 +        jupyterlab-unfold v0.3.3 <font color="#26A269">enabled</font> <font color="#26A269">OK</font> (python, jupyterlab-unfold)
 +        jupyter-fs v1.0.1 <font color="#C01C28">disabled</font> <font color="#26A269">OK</font> 🔒 (all plugins locked) (python, jupyter-fs)
 +        jupyter_tomoyan_extension v0.1.0 <font color="#26A269">enabled</font> <font color="#26A269">OK</font>
 +        @jupyter-widgets/jupyterlab-manager v5.0.14 <font color="#26A269">enabled</font> <font color="#26A269">OK</font> (python, jupyterlab_widgets)
 +        @jupyter-notebook/lab-extension v7.4.0 <font color="#26A269">enabled</font> <font color="#26A269">OK</font>
 +        @timkpaine/jupyterlab_miami_nights v0.4.2 <font color="#26A269">enabled</font> <font color="#26A269">OK</font> (python, jupyterlab_miami_nights)
 +
 +
 +Disabled extensions:
 +    jupyter-fs (all plugins)
 +</pre></html></WRAP>
 +</WRAP>
 +
 +シンボルリンクを削除してから ''pip install -ve .'' からやり直す🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">rm</font><font color="#999999"> </font><font color="#999999"><u style="text-decoration-style:solid">~/miniforge3/envs/jupyterlab/share/jupyter/labextensions/jupyter-theme-editor</u></font>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">pip</font> install <font color="#A347BA">-ve</font> <u style="text-decoration-style:solid">.</u>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">jupyter</font> labextension develop <font color="#A347BA">--overwrite</font> <u style="text-decoration-style:solid">.</u>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +Installing /home/tomoyan/my_projects/jupyter-src/jupyterlab-theme-editor2/jupyter_theme_editor/labextension -&gt; jupyter-theme-editor
 +Removing: /home/tomoyan/miniforge3/envs/jupyterlab/share/jupyter/labextensions/jupyter-theme-editor
 +Symlinking: /home/tomoyan/miniforge3/envs/jupyterlab/share/jupyter/labextensions/jupyter-theme-editor -&gt; /home/tomoyan/my_projects/jupyter-src/jupyterlab-theme-editor2/jupyter_theme_editor/labextension
 +</pre></html></WRAP>
 +</WRAP>
  
 ==== error: subprocess-exited-with-error エラーでビルドが失敗する🤔 ==== ==== error: subprocess-exited-with-error エラーでビルドが失敗する🤔 ====
行 9318: 行 9387:
  
 ===== 参考文献 ===== ===== 参考文献 =====
 +[[rtd>jupyterlab.readthedocs.io/en/latest/index.html|JupyterLab Documentation — JupyterLab latest documentation]]\\
 [[git>jupyterlab/extension-examples/|jupyterlab/extension-examples: JupyterLab Extensions by Examples]]\\ [[git>jupyterlab/extension-examples/|jupyterlab/extension-examples: JupyterLab Extensions by Examples]]\\
 [[git>jupyterlab/jupyterlab/tree/4.3.x/packages/codemirror|jupyterlab/packages/codemirror at 4.3.x · jupyterlab/jupyterlab]]\\ [[git>jupyterlab/jupyterlab/tree/4.3.x/packages/codemirror|jupyterlab/packages/codemirror at 4.3.x · jupyterlab/jupyterlab]]\\
行 9334: 行 9404:
 [[git>jupyterlab/jupyterlab/pull/16005|Switch from `webpack` to `rspack` for bundling by jtpio · Pull Request #16005 · jupyterlab/jupyterlab]]\\ [[git>jupyterlab/jupyterlab/pull/16005|Switch from `webpack` to `rspack` for bundling by jtpio · Pull Request #16005 · jupyterlab/jupyterlab]]\\
 [[git>jupyterlab/jupyterlab/milestone/82|Milestone for JupyterLab 4.5.0]]\\ [[git>jupyterlab/jupyterlab/milestone/82|Milestone for JupyterLab 4.5.0]]\\
 +
 +ファイルブラウザのツリービューに関する議論🤔\\
 +[[git>jupyterlab/jupyterlab/issues/5526|WIP/Discussion: Tree view for file browser · Issue #5526 · jupyterlab/jupyterlab]]\\
 +[[git>jupyterlab-contrib/jupyterlab-unfold|jupyterlab-contrib/jupyterlab-unfold: An IDE-like file browser for JupyterLab]]\\
 +[[git>jpmorganchase/jupyter-fs|jpmorganchase/jupyter-fs: A filesystem-like contents manager for multiple backends in Jupyter]]\\
 +[[git>telamonian/tree-finder|telamonian/tree-finder: Versatile tree-viewer/filebrowser widget, built on top of regular-table]]\\
 +
 +[[https://deno.com/blog/your-new-js-package-manager|Introducing your new JavaScript package manager: Deno]]\\
 +
 ==== 付録 ==== ==== 付録 ====
 [[tw>tomoyan596sp/status/1719561568890065148|よし、TypeScriptでJupyterLabの拡張機能はできた🤔]]\\ [[tw>tomoyan596sp/status/1719561568890065148|よし、TypeScriptでJupyterLabの拡張機能はできた🤔]]\\
  • python/jupyterlab/extension_dev.1744753424.txt.gz
  • 最終更新: 2025/04/16 06:43
  • by ともやん