差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
python:jupyterlab:extension_dev [2025/04/17 15:29] – [参考: 最新ドキュメント & ソースコード] ともやんpython:jupyterlab:extension_dev [2025/04/27 06:49] (現在) – [error: subprocess-exited-with-error エラーでビルドが失敗する🤔] ともやん
行 766: 行 766:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-(jupyterlab-ext) <font color="#0087FF"><b>$</b></font> <font color="#26A269">mkdir</font> jupyter_tomoyan_extension <font color="#12488B"><b>&amp;&amp;</b></font> <font color="#26A269">cd</font> jupyter_tomoyan_extension+(jupyterlab-ext) <font color="#26A269">mkdir</font> jupyterlab-monster-extension <font color="#2A7BDE"><b>&amp;&amp;</b></font> <font color="#26A269">cd</font> jupyterlab-monster-extension
 (jupyterlab-ext) <font color="#0087FF"><b>$</b></font> <font color="#26A269">copier</font> copy <font color="#A347BA">--trust</font> https://github.com/jupyterlab/extension-template <u style="text-decoration-style:single">.</u> (jupyterlab-ext) <font color="#0087FF"><b>$</b></font> <font color="#26A269">copier</font> copy <font color="#A347BA">--trust</font> https://github.com/jupyterlab/extension-template <u style="text-decoration-style:single">.</u>
 </pre></html></WRAP> </pre></html></WRAP>
行 783: 行 783:
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
 <font color="#5F87AF">🎤</font><b> What is your extension kind?</b> <font color="#5F87AF">🎤</font><b> What is your extension kind?</b>
-<b>   </b><font color="#FFAF00"><b>server</b></font>+<b>   </b><font color="#FFAF00"><b>theme</b></font>
 <font color="#5F87AF">🎤</font><b> Extension author name</b> <font color="#5F87AF">🎤</font><b> Extension author name</b>
 <b>   </b><font color="#FFAF00"><b>tomoyan596</b></font> <b>   </b><font color="#FFAF00"><b>tomoyan596</b></font>
行 789: 行 789:
 <b>   </b><font color="#FFAF00"><b>tomoyan596@tomoyan.net</b></font> <b>   </b><font color="#FFAF00"><b>tomoyan596@tomoyan.net</b></font>
 <font color="#5F87AF">🎤</font><b> JavaScript package name</b> <font color="#5F87AF">🎤</font><b> JavaScript package name</b>
-<b>   </b><font color="#FFAF00"><b>jupyter_tomoyan_extension</b></font>+<b>   </b><font color="#FFAF00"><b>jupyterlab-monster-extension</b></font>
 <font color="#5F87AF">🎤</font><b> Python package name</b> <font color="#5F87AF">🎤</font><b> Python package name</b>
-<b>   </b><font color="#FFAF00"><b>jupyter_tomoyan_extension</b></font>+<b>   </b><font color="#FFAF00"><b>jupyterlab-monster-extension</b></font>
 <font color="#5F87AF">🎤</font><b> Extension short description</b> <font color="#5F87AF">🎤</font><b> Extension short description</b>
 <b>   </b><font color="#FFAF00"><b>A JupyterLab extension.</b></font> <b>   </b><font color="#FFAF00"><b>A JupyterLab extension.</b></font>
 <font color="#5F87AF">🎤</font><b> Does the extension have user settings or schema-defined UI elements?</b> <font color="#5F87AF">🎤</font><b> Does the extension have user settings or schema-defined UI elements?</b>
-<b>   </b><font color="#FFAF00"><b>No</b></font>+<b>   </b><font color="#FFAF00"><b>Yes</b></font>
 <font color="#5F87AF">🎤</font><b> Do you want to set up Binder example?</b> <font color="#5F87AF">🎤</font><b> Do you want to set up Binder example?</b>
 <b>   </b><font color="#FFAF00"><b>Yes</b></font> <b>   </b><font color="#FFAF00"><b>Yes</b></font>
行 801: 行 801:
 <b>   </b><font color="#FFAF00"><b>Yes</b></font> <b>   </b><font color="#FFAF00"><b>Yes</b></font>
 <font color="#5F87AF">🎤</font><b> Git remote repository URL</b> <font color="#5F87AF">🎤</font><b> Git remote repository URL</b>
-<b>   </b><font color="#FFAF00"><b>https://github.com/tomoyan596/jupyter_tomoyan_extension</b></font>+<b>   </b><font color="#FFAF00"><b>https://github.com/tomoyan596/jupyterlab-monster-extension</b></font>
  
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result_hlong><html><pre> <WRAP color_result_hlong><html><pre>
 Copying from template version 4.3.8 Copying from template version 4.3.8
-<font color="#33D17A"><b>    create</b></font>  jupyter_tomoyan_extension +<font color="#33D17A"><b>    create</b></font>  jupyterlab-monster-extension 
-<font color="#33D17A"><b>    create</b></font>  jupyter_tomoyan_extension/tests +<font color="#33D17A"><b>    create</b></font>  jupyterlab-monster-extension/__init__.py
-<font color="#33D17A"><b>    create</b></font>  jupyter_tomoyan_extension/tests/test_handlers.py +
-<font color="#33D17A"><b>    create</b></font>  jupyter_tomoyan_extension/tests/__init__.py +
-<font color="#33D17A"><b>    create</b></font>  jupyter_tomoyan_extension/handlers.py +
-<font color="#33D17A"><b>    create</b></font>  jupyter_tomoyan_extension/__init__.py+
 <font color="#33D17A"><b>    create</b></font>  .copier-answers.yml <font color="#33D17A"><b>    create</b></font>  .copier-answers.yml
-<font color="#33D17A"><b>    create</b></font>  conftest.py 
 <font color="#33D17A"><b>    create</b></font>  ui-tests <font color="#33D17A"><b>    create</b></font>  ui-tests
 <font color="#33D17A"><b>    create</b></font>  ui-tests/yarn.lock <font color="#33D17A"><b>    create</b></font>  ui-tests/yarn.lock
 <font color="#33D17A"><b>    create</b></font>  ui-tests/tests <font color="#33D17A"><b>    create</b></font>  ui-tests/tests
-<font color="#33D17A"><b>    create</b></font>  ui-tests/tests/jupyter_tomoyan_extension.spec.ts+<font color="#33D17A"><b>    create</b></font>  ui-tests/tests/jupyterlab-monster-extension.spec.ts
 <font color="#33D17A"><b>    create</b></font>  ui-tests/playwright.config.js <font color="#33D17A"><b>    create</b></font>  ui-tests/playwright.config.js
 <font color="#33D17A"><b>    create</b></font>  ui-tests/package.json <font color="#33D17A"><b>    create</b></font>  ui-tests/package.json
行 825: 行 820:
 <font color="#33D17A"><b>    create</b></font>  jest.config.js <font color="#33D17A"><b>    create</b></font>  jest.config.js
 <font color="#33D17A"><b>    create</b></font>  babel.config.js <font color="#33D17A"><b>    create</b></font>  babel.config.js
-<font color="#33D17A"><b>    create</b></font>  jupyter-config +<font color="#33D17A"><b>    create</b></font>  schema 
-<font color="#33D17A"><b>    create</b></font>  jupyter-config/server-config +<font color="#33D17A"><b>    create</b></font>  schema/plugin.json
-<font color="#33D17A"><b>    create</b></font>  jupyter-config/server-config/jupyter_tomoyan_extension.json+
 <font color="#33D17A"><b>    create</b></font>  binder <font color="#33D17A"><b>    create</b></font>  binder
 <font color="#33D17A"><b>    create</b></font>  binder/postBuild <font color="#33D17A"><b>    create</b></font>  binder/postBuild
行 833: 行 827:
 <font color="#33D17A"><b>    create</b></font>  tsconfig.json <font color="#33D17A"><b>    create</b></font>  tsconfig.json
 <font color="#33D17A"><b>    create</b></font>  style <font color="#33D17A"><b>    create</b></font>  style
-<font color="#33D17A"><b>    create</b></font>  style/index.js +<font color="#33D17A"><b>    create</b></font>  style/variables.css
-<font color="#33D17A"><b>    create</b></font>  style/base.css+
 <font color="#33D17A"><b>    create</b></font>  style/index.css <font color="#33D17A"><b>    create</b></font>  style/index.css
 <font color="#33D17A"><b>    create</b></font>  src <font color="#33D17A"><b>    create</b></font>  src
 <font color="#33D17A"><b>    create</b></font>  src/__tests__ <font color="#33D17A"><b>    create</b></font>  src/__tests__
-<font color="#33D17A"><b>    create</b></font>  src/__tests__/jupyter_tomoyan_extension.spec.ts +<font color="#33D17A"><b>    create</b></font>  src/__tests__/jupyterlab-monster-extension.spec.ts
-<font color="#33D17A"><b>    create</b></font>  src/handler.ts+
 <font color="#33D17A"><b>    create</b></font>  src/index.ts <font color="#33D17A"><b>    create</b></font>  src/index.ts
 <font color="#33D17A"><b>    create</b></font>  setup.py <font color="#33D17A"><b>    create</b></font>  setup.py
行 881: 行 873:
 ├── install.json ├── install.json
 ├── jest.config.js ├── jest.config.js
-├── <font color="#2A7BDE"><b>jupyter_tomoyan_extension</b></font>+├── <font color="#2A7BDE"><b>jupyterlab-monster-extension</b></font>
 │   └── __init__.py │   └── __init__.py
 ├── package.json ├── package.json
 ├── pyproject.toml ├── pyproject.toml
 +├── <font color="#2A7BDE"><b>schema</b></font>
 +│   └── plugin.json
 ├── setup.py ├── setup.py
 ├── <font color="#2A7BDE"><b>src</b></font> ├── <font color="#2A7BDE"><b>src</b></font>
 │   ├── <font color="#2A7BDE"><b>__tests__</b></font> │   ├── <font color="#2A7BDE"><b>__tests__</b></font>
-│   │   └── jupyter_tomoyan_extension.spec.ts+│   │   └── jupyterlab-monster-extension.spec.ts
 │   └── index.ts │   └── index.ts
 ├── <font color="#2A7BDE"><b>style</b></font> ├── <font color="#2A7BDE"><b>style</b></font>
行 901: 行 895:
     ├── playwright.config.js     ├── playwright.config.js
     ├── <font color="#2A7BDE"><b>tests</b></font>     ├── <font color="#2A7BDE"><b>tests</b></font>
-    │   └── jupyter_tomoyan_extension.spec.ts+    │   └── jupyterlab-monster-extension.spec.ts
     └── yarn.lock     └── yarn.lock
 +
 +9 directories, 26 files
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
行 912: 行 908:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
 +(jupyterlab-ext) <font color="#0087FF"><b>$</b></font> <font color="#26A269">git</font> config <font color="#A347BA">--global</font> user.email tomoyan596@tomoyan.net
 (jupyterlab-ext) <font color="#0087FF"><b>$</b></font> <font color="#26A269">git</font> init (jupyterlab-ext) <font color="#0087FF"><b>$</b></font> <font color="#26A269">git</font> init
 </pre></html></WRAP> </pre></html></WRAP>
行 925: 行 922:
 <font color="#A2734C">hint:</font> <font color="#A2734C">hint:</font>
 <font color="#A2734C">hint: </font> <font color="#A2734C">git branch -m &lt;name&gt;</font> <font color="#A2734C">hint: </font> <font color="#A2734C">git branch -m &lt;name&gt;</font>
-Initialized empty Git repository in /home/tomoyan/my_projects/jupyter_tomoyan_extension/.git/+Initialized empty Git repository in /home/tomoyan/my_projects/jupyter-src/jupyterlab-monster-extension/.git/
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
 +(jupyterlab-ext) <font color="#0087FF"><b>$</b></font> <font color="#26A269">git</font> br<font color="#999999">anch </font><font color="#A347BA">-m</font><font color="#999999"> main</font>
 (jupyterlab-ext) <font color="#0087FF"><b>$</b></font> <font color="#26A269">git</font> add <u style="text-decoration-style:solid">.</u> (jupyterlab-ext) <font color="#0087FF"><b>$</b></font> <font color="#26A269">git</font> add <u style="text-decoration-style:solid">.</u>
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-(jupyterlab-ext) <font color="#0087FF"><b>$</b></font> <font color="#26A269">git</font> status+(jupyterlab-ext) <font color="#0087FF"><b>$</b></font> <font color="#26A269">git</font> s<font color="#999999">tatus</font>
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result_hlong><html><pre> <WRAP color_result_hlong><html><pre>
-On branch master+On branch main
  
 No commits yet No commits yet
行 960: 行 958:
  <font color="#26A269">new file:   install.json</font>  <font color="#26A269">new file:   install.json</font>
  <font color="#26A269">new file:   jest.config.js</font>  <font color="#26A269">new file:   jest.config.js</font>
- <font color="#26A269">new file:   jupyter_tomoyan_extension/__init__.py</font>+ <font color="#26A269">new file:   jupyterlab-monster-extension/__init__.py</font>
  <font color="#26A269">new file:   package.json</font>  <font color="#26A269">new file:   package.json</font>
  <font color="#26A269">new file:   pyproject.toml</font>  <font color="#26A269">new file:   pyproject.toml</font>
 + <font color="#26A269">new file:   schema/plugin.json</font>
  <font color="#26A269">new file:   setup.py</font>  <font color="#26A269">new file:   setup.py</font>
- <font color="#26A269">new file:   src/__tests__/jupyter_tomoyan_extension.spec.ts</font>+ <font color="#26A269">new file:   src/__tests__/jupyterlab-monster-extension.spec.ts</font>
  <font color="#26A269">new file:   src/index.ts</font>  <font color="#26A269">new file:   src/index.ts</font>
  <font color="#26A269">new file:   style/index.css</font>  <font color="#26A269">new file:   style/index.css</font>
行 974: 行 973:
  <font color="#26A269">new file:   ui-tests/package.json</font>  <font color="#26A269">new file:   ui-tests/package.json</font>
  <font color="#26A269">new file:   ui-tests/playwright.config.js</font>  <font color="#26A269">new file:   ui-tests/playwright.config.js</font>
- <font color="#26A269">new file:   ui-tests/tests/jupyter_tomoyan_extension.spec.ts</font>+ <font color="#26A269">new file:   ui-tests/tests/jupyterlab-monster-extension.spec.ts</font>
  <font color="#26A269">new file:   ui-tests/yarn.lock</font>  <font color="#26A269">new file:   ui-tests/yarn.lock</font>
  
行 982: 行 981:
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result_hlong><html><pre> <WRAP color_result_hlong><html><pre>
-[master (root-commit) e628056] テンプレートよりプロジェクトを作成 +[main (root-commit) d04260d] テンプレートよりプロジェクトを作成 
- Committer: TomoYan &lt;tomoyan@highway-x.fireball.local&gt; + 37 files changed, 1885 insertions(+)
-Your name and email address were configured automatically based +
-on your username and hostname. Please check that they are accurate. +
-You can suppress this message by setting them explicitly. Run the +
-following command and follow the instructions in your editor to edit +
-your configuration file: +
- +
-    git config --global --edit +
- +
-After doing this, you may fix the identity used for this commit with: +
- +
-    git commit --amend --reset-author +
- +
- 36 files changed, 1860 insertions(+)+
  create mode 100644 .copier-answers.yml  create mode 100644 .copier-answers.yml
  create mode 100644 .github/workflows/binder-on-pr.yml  create mode 100644 .github/workflows/binder-on-pr.yml
行 1017: 行 1003:
  create mode 100644 install.json  create mode 100644 install.json
  create mode 100644 jest.config.js  create mode 100644 jest.config.js
- create mode 100644 jupyter_tomoyan_extension/__init__.py+ create mode 100644 jupyterlab-monster-extension/__init__.py
  create mode 100644 package.json  create mode 100644 package.json
  create mode 100644 pyproject.toml  create mode 100644 pyproject.toml
 + create mode 100644 schema/plugin.json
  create mode 100644 setup.py  create mode 100644 setup.py
- create mode 100644 src/__tests__/jupyter_tomoyan_extension.spec.ts+ create mode 100644 src/__tests__/jupyterlab-monster-extension.spec.ts
  create mode 100644 src/index.ts  create mode 100644 src/index.ts
  create mode 100644 style/index.css  create mode 100644 style/index.css
行 1031: 行 1018:
  create mode 100644 ui-tests/package.json  create mode 100644 ui-tests/package.json
  create mode 100644 ui-tests/playwright.config.js  create mode 100644 ui-tests/playwright.config.js
- create mode 100644 ui-tests/tests/jupyter_tomoyan_extension.spec.ts+ create mode 100644 ui-tests/tests/jupyterlab-monster-extension.spec.ts
  create mode 100644 ui-tests/yarn.lock  create mode 100644 ui-tests/yarn.lock
 </pre></html></WRAP> </pre></html></WRAP>
行 6376: 行 6363:
  
 ===== JupyterLab の拡張機能の実装方法...🤔 ===== ===== JupyterLab の拡張機能の実装方法...🤔 =====
-ソースコード: [[git>tomoyan596/jupyter_tomoyan_extension|tomoyan596/jupyter_tomoyan_extension]]\\+ソースコード: [[git>tomoyan596/jupyterlab-monsters-extension|tomoyan596/jupyterlab-monsters-extension]]\\
  
-テーマは JupyterLab のテーマJupyterLab のコードエディタである CodeMirror のテーマがる🤔\\ +JupyterLab の Extension として実装可能なテーマは、UI のテーマ、コードエディタの CodeMirror のテーマ、ターミナルの xterm のテーマの 3 つに分けることできる🤔\\ 
-ここでは CodeMirror のテーマ (monokai) と構文色分け (Astro) を追加する方法を示す😉\\+ここでは CodeMirror のテーマ (monokai) と構文色分け (Astro) を追加する方法を示す😉\\
 <WRAP group> <WRAP group>
 <WRAP column zoomimg w400 x1_2> <WRAP column zoomimg w400 x1_2>
行 6419: 行 6406:
 JupyterLab のソースコードは公開されているので、古いドキュメントやネットの文献に惑わされることなく、最新のソースコードから推測で実装可能である😉\\ JupyterLab のソースコードは公開されているので、古いドキュメントやネットの文献に惑わされることなく、最新のソースコードから推測で実装可能である😉\\
 [[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|jupyterlab/packages at 4.3.x · jupyterlab/jupyterlab]]\\ +[[git>jupyterlab/jupyterlab/tree/4.4.x/packages|jupyterlab/packages at 4.4.x · jupyterlab/jupyterlab]]\\ 
-[[git>jupyterlab/jupyterlab/tree/4.3.x/packages/codemirror|jupyterlab/packages/codemirror at 4.3.x · jupyterlab/jupyterlab]]\\ +[[git>jupyterlab/jupyterlab/tree/4.4.x/packages/codemirror|jupyterlab/packages/codemirror at 4.4.x · jupyterlab/jupyterlab]]\\ 
-[[git>jupyterlab/jupyterlab/blob/4.3.x/packages/codemirror/src/theme.ts|jupyterlab/packages/codemirror/src/theme.ts at 4.3.x · jupyterlab/jupyterlab]]\\ +[[git>jupyterlab/jupyterlab/blob/4.4.x/packages/codemirror/src/theme.ts|jupyterlab/packages/codemirror/src/theme.ts at 4.4.x · jupyterlab/jupyterlab]]\\ 
-[[git>jupyterlab/jupyterlab/blob/4.3.x/packages/codemirror/src/language.ts|jupyterlab/packages/codemirror/src/language.ts at 4.3.x · jupyterlab/jupyterlab]]\\+[[git>jupyterlab/jupyterlab/blob/4.4.x/packages/codemirror/src/language.ts|jupyterlab/packages/codemirror/src/language.ts at 4.4.x · jupyterlab/jupyterlab]]\\ 
 +[[git>jupyterlab/jupyterlab/tree/4.4.x/packages/codemirror-extension/|jupyterlab/packages/codemirror-extension at 4.4.x · jupyterlab/jupyterlab]]\\ 
 + 
 +==== JupyterLab Extension サンプルの探し方 ====
  
 ==== CodeMirror テーマの実装...🤔 ==== ==== CodeMirror テーマの実装...🤔 ====
行 6437: 行 6427:
 <WRAP color_mincode><html><pre> <WRAP color_mincode><html><pre>
 <font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: ┌ Resolution step <font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: ┌ Resolution step
-<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D75F00">@jupyterlab/</font><font color="#D7875F">services</font><font color="#87AFFF">@npm:7.4.0</font> doesn&apos;t provide <font color="#D7875F">react</font> (<font color="#87AFFF">p4977b</font>), requested by <font color="#D75F00">@jupyterlab/</font><font color="#D7875F">settingregistry</font> +<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D75F00">@jupyterlab/</font><font color="#D7875F">services</font><font color="#87AFFF">@npm:7.4.1</font> doesn&apos;t provide <font color="#D7875F">react</font> (<font color="#87AFFF">p54672</font>), requested by <font color="#D75F00">@jupyterlab/</font><font color="#D7875F">settingregistry</font> 
-<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D75F00">@jupyterlab/</font><font color="#D7875F">testutils</font><font color="#87AFFF">@npm:4.4.0</font> doesn&apos;t provide <font color="#D7875F">typescript</font> (<font color="#87AFFF">pb40ed</font>), requested by <font color="#D75F00">@jupyterlab/</font><font color="#D7875F">testing</font> +<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D75F00">@jupyterlab/</font><font color="#D7875F">testutils</font><font color="#87AFFF">@npm:4.4.1</font> doesn&apos;t provide <font color="#D7875F">typescript</font> (<font color="#87AFFF">pdc910</font>), requested by <font color="#D75F00">@jupyterlab/</font><font color="#D7875F">testing</font> 
-<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyter_tomoyan_extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D75F00">@codemirror/</font><font color="#D7875F">language</font> (<font color="#87AFFF">pccaec</font>), requested by <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-bundle</font> +<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyterlab-monster-extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D75F00">@codemirror/</font><font color="#D7875F">language</font> (<font color="#87AFFF">pa9791</font>), requested by <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-bundle</font> 
-<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyter_tomoyan_extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D75F00">@codemirror/</font><font color="#D7875F">state</font> (<font color="#87AFFF">p24bf8</font>), requested by <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-bundle</font> +<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyterlab-monster-extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D75F00">@codemirror/</font><font color="#D7875F">state</font> (<font color="#87AFFF">p0fc0e</font>), requested by <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-bundle</font> 
-<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyter_tomoyan_extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D75F00">@codemirror/</font><font color="#D7875F">view</font> (<font color="#87AFFF">p00fa6</font>), requested by <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-bundle</font> +<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyterlab-monster-extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D75F00">@codemirror/</font><font color="#D7875F">view</font> (<font color="#87AFFF">pe162a</font>), requested by <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-bundle</font> 
-<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyter_tomoyan_extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D75F00">@lezer/</font><font color="#D7875F">highlight</font> (<font color="#87AFFF">p52a63</font>), requested by <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-bundle</font> +<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyterlab-monster-extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D75F00">@lezer/</font><font color="#D7875F">highlight</font> (<font color="#87AFFF">p8f76a</font>), requested by <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-bundle</font> 
-<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyter_tomoyan_extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D7875F">webpack</font> (<font color="#87AFFF">p7544c</font>), requested by <font color="#D7875F">source-map-loader</font> +<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyterlab-monster-extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D7875F">react</font> (<font color="#87AFFF">p46bba</font>), requested by <font color="#D75F00">@jupyterlab/</font><font color="#D7875F">settingregistry</font> 
-<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyter_tomoyan_extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D7875F">webpack</font> (<font color="#87AFFF">pbfbbb</font>), requested by <font color="#D7875F">style-loader</font>+<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyterlab-monster-extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D7875F">webpack</font> (<font color="#87AFFF">p5b72e</font>), requested by <font color="#D7875F">source-map-loader</font> 
 +<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyterlab-monster-extension</font><font color="#87AFFF">@workspace:.</font> doesn&apos;t provide <font color="#D7875F">webpack</font> (<font color="#87AFFF">pfe613</font>), requested by <font color="#D7875F">style-loader</font> 
 +<font color="#E9AD0C">➤</font> YN0002: │ <font color="#D7875F">jupyterlab-rspack</font><font color="#87AFFF">@npm:0.1.0</font> doesn&apos;t provide <font color="#D7875F">webpack</font> (<font color="#87AFFF">pd80ca</font>), requested by <font color="#D7875F">source-map-loader</font>
 <font color="#E9AD0C">➤</font> YN0000: │ Some peer dependencies are incorrectly met; run <font color="#87AFFF">yarn explain peer-requirements &lt;hash&gt;</font> for details, where <font color="#87AFFF">&lt;hash&gt;</font> is the six-letter p-prefixed code <font color="#E9AD0C">➤</font> YN0000: │ Some peer dependencies are incorrectly met; run <font color="#87AFFF">yarn explain peer-requirements &lt;hash&gt;</font> for details, where <font color="#87AFFF">&lt;hash&gt;</font> is the six-letter p-prefixed code
-<font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: └ Completed in 3s 872ms+<font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: └ Completed in 3s 253ms
 <font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: ┌ Fetch step <font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: ┌ Fetch step
-<font color="#2A7BDE">➤</font> YN0013: │ <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-tokyo-night-day</font><font color="#87AFFF">@npm:6.1.2</font> can&apos;t be found in the cache and will be fetched  +<font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: └ Completed in 2s 6ms
-<font color="#2A7BDE">➤</font> YN0013: │ <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-tokyo-night-storm</font><font color="#87AFFF">@npm:6.1.2</font> can&apos;t be found in the cache and will be fetche +
-<font color="#2A7BDE">➤</font> YN0013: │ <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-volcano</font><font color="#87AFFF">@npm:6.1.2</font> can&apos;t be found in the cache and will be fetched from the +
-<font color="#2A7BDE">➤</font> YN0013: │ <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-vscode-dark</font><font color="#87AFFF">@npm:6.1.2</font> can&apos;t be found in the cache and will be fetched from +
-<font color="#2A7BDE">➤</font> YN0013: │ <font color="#D75F00">@fsegurai/</font><font color="#D7875F">codemirror-theme-vscode-light</font><font color="#87AFFF">@npm:6.1.2</font> can&apos;t be found in the cache and will be fetched fro +
-<font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: └ Completed in 3s 495ms+
 <font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: ┌ Link step <font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: ┌ Link step
-<font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: └ Completed in 1s 474ms +<font color="#2A7BDE">➤</font> <font color="#666666">YN0000</font>: └ Completed in 2s 299ms 
-<font color="#E9AD0C">➤</font> YN0000: Done with warnings in 9s 178ms+<font color="#E9AD0C">➤</font> YN0000: Done with warnings in 7s 953ms
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
行 6780: 行 6767:
  
 ==== ビルドの高速化😍 ==== ==== ビルドの高速化😍 ====
 +<wrap em>※ビルド結果がおかしいので調査中...😅</wrap>\\
 deno でビルドすると少し高速化されます🤔\\ deno でビルドすると少し高速化されます🤔\\
  
行 6838: 行 6826:
  
 === 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>
行 6860: 行 6848:
 <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>
行 6867: 行 6855:
 <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>
行 6873: 行 6861:
 <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>
行 6880: 行 6868:
 <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>
行 8739: 行 8727:
  
 ===== トラブルシューティング ===== ===== トラブルシューティング =====
 +
 +==== 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 エラーでビルドが失敗する🤔 ====
行 9223: 行 9277:
  
 </pre></html></WRAP> </pre></html></WRAP>
-<WRAP color_result><html><pre>+<WRAP color_result_hlong><html><pre>
   <b>$ </b>yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--mode #0]   <b>$ </b>yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--mode #0]
   Traceback (most recent call last):   Traceback (most recent call last):
行 9321: 行 9375:
  
 ===== 参考文献 ===== ===== 参考文献 =====
-[[rtd>https://jupyterlab.readthedocs.io/en/latest/index.html|JupyterLab Documentation — JupyterLab latest documentation]]\\+<WRAP scroll_area_long fsize14> 
 +[[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]]\\
行 9338: 行 9393:
 [[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]]\\
 +
 +[[deno>blog/your-new-js-package-manager|Introducing your new JavaScript package manager: Deno]]\\
 +
 +[[https://github.com/jupyterlab/lumino|jupyterlab/lumino: Lumino is a library for building interactive web applications]]\\
 +</WRAP>
 +
 ==== 付録 ==== ==== 付録 ====
 [[tw>tomoyan596sp/status/1719561568890065148|よし、TypeScriptでJupyterLabの拡張機能はできた🤔]]\\ [[tw>tomoyan596sp/status/1719561568890065148|よし、TypeScriptでJupyterLabの拡張機能はできた🤔]]\\
  • python/jupyterlab/extension_dev.1744871389.txt.gz
  • 最終更新: 2025/04/17 15:29
  • by ともやん