質問編集履歴
3
改善しました
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
|
1
|
+
@lckr/jupyterlab_variableinspector のインストール
|
body
CHANGED
@@ -1,125 +1,143 @@
|
|
1
1
|
# versions
|
2
2
|
jupyter-core 4.7.1
|
3
3
|
jupyter lab 3.0.16
|
4
|
-
python 3.9.5
|
5
|
-
|
4
|
+
conda version : 4.10.3
|
6
5
|
node 14.17.3
|
7
6
|
npm 6.14.13
|
8
7
|
|
9
8
|
|
10
9
|
jupyter labを新しく使用したいと考えjupyter notebookから移行しようとしている者です。
|
10
|
+
他の拡張機能は問題なく使えております。
|
11
11
|
|
12
|
+
便利な@lckr/jupyterlab_variableinspectorをインストールしようと思うのですが
|
13
|
+
|
12
14
|
```
|
13
|
-
|
15
|
+
jupyter labextension install @lckr/jupyterlab_variableinspector
|
16
|
+
|
14
17
|
```
|
15
|
-
|
16
|
-
にてjupyterlabをインストールインストールしました。
|
17
|
-
通常の機能であれば問題なく使用できます。
|
18
|
-
拡張機能の追加を行いたく、extentionのインストールまでは問題なく進みました。
|
19
|
-
その後、
|
20
18
|
|
21
|
-
|
19
|
+
を実行すると
|
22
|
-
Build Recommended
|
23
|
-
JupyterLab build is suggested:
|
24
|
-
jupyterlab-drawio needs to be included in build
|
25
|
-
@lckr/jupyterlab_variableinspector needs to be included in build
|
26
20
|
|
27
|
-
-------
|
28
21
|
|
29
|
-
といったメッセージが出ました。
|
30
|
-
bulidのボタンがあったので実行しましたが、
|
31
|
-
|
32
|
-
-----
|
33
|
-
Build failed with 500, please run 'jupyter lab build' on the server for full output
|
34
|
-
|
35
|
-
----
|
36
|
-
と言って弾かれます。
|
37
|
-
言われた通りにターミナルにて
|
38
22
|
```
|
39
|
-
jupyter lab bulid
|
40
|
-
```
|
41
|
-
と実行しますが
|
42
|
-
|
43
|
-
----
|
44
|
-
matsusesatoshi@matsusesatoshinoMacBook-puro ~ % jupyter
|
23
|
+
(base) matsusesatoshi@matsusesatoshinoMacBook-puro ~ % jupyter labextension install @lckr/jupyterlab_variableinspector
|
45
|
-
[LabBuildApp] JupyterLab 3.0.16
|
46
|
-
[LabBuildApp] Building in /Users/matsusesatoshi/.pyenv/versions/3.9.5/share/jupyter/lab
|
47
|
-
|
24
|
+
Building jupyterlab assets (production, minimized)
|
48
|
-
Build failed.
|
49
|
-
Troubleshooting: If the build failed due to an out-of-memory error, you
|
50
|
-
may be able to fix it by disabling the `dev_build` and/or `minimize` options.
|
51
|
-
|
52
|
-
If you are building via the `jupyter lab build` command, you can disable
|
53
|
-
these options like so:
|
54
|
-
|
55
|
-
jupyter lab build --dev-build=False --minimize=False
|
56
|
-
|
57
|
-
You can also disable these options for all JupyterLab builds by adding these
|
58
|
-
lines to a Jupyter config file named `jupyter_config.py`:
|
59
|
-
|
60
|
-
c.LabBuildApp.minimize = False
|
61
|
-
c.LabBuildApp.dev_build = False
|
62
|
-
|
63
|
-
If you don't already have a `jupyter_config.py` file, you can create one by
|
64
|
-
adding a blank file of that name to any of the Jupyter config directories.
|
65
|
-
The config directories can be listed by running:
|
66
|
-
|
67
|
-
jupyter --paths
|
68
|
-
|
69
|
-
Explanation:
|
70
|
-
|
71
|
-
- `dev-build`: This option controls whether a `dev` or a more streamlined
|
72
|
-
`production` build is used. This option will default to `False` (i.e., the
|
73
|
-
`production` build) for most users. However, if you have any labextensions
|
74
|
-
installed from local files, this option will instead default to `True`.
|
75
|
-
Explicitly setting `dev-build` to `False` will ensure that the `production`
|
76
|
-
build is used in all circumstances.
|
77
|
-
|
78
|
-
- `minimize`: This option controls whether your JS bundle is minified
|
79
|
-
during the Webpack build, which helps to improve JupyterLab's overall
|
80
|
-
performance. However, the minifier plugin used by Webpack is very memory
|
81
|
-
intensive, so turning it off may help the build finish successfully in
|
82
|
-
low-memory environments.
|
83
|
-
|
84
25
|
An error occured.
|
85
26
|
RuntimeError: JupyterLab failed to build
|
86
|
-
See the log file for details: /var/folders/ll/cdp3xh194t7_9c631lm07yx00000gn/T/jupyterlab-debug-
|
27
|
+
See the log file for details: /var/folders/ll/cdp3xh194t7_9c631lm07yx00000gn/T/jupyterlab-debug-0an40nwu.log
|
87
28
|
|
88
|
-
|
29
|
+
```
|
89
30
|
|
90
31
|
といったエラーではじかれてしまします。
|
91
32
|
|
92
33
|
試したことは
|
93
34
|
node,npmの再インストール
|
94
35
|
jupyter, jupyter-core の再インストール
|
95
|
-
|
36
|
+
build_config.jsonの削除及び再インストール
|
96
37
|
|
97
38
|
インターネットで検索し、できそうなことは試したのですが何がいけないのでしょうか...
|
98
|
-
よ
|
39
|
+
ご回答あるいは、ほかの似たような拡張機能を知ってらっしゃったら教えていただけると嬉しいです。
|
99
40
|
|
100
41
|
logの内容でエラーを吐いている内容は下に記します。
|
101
42
|
|
102
|
-
|
43
|
+
```
|
103
44
|
ERROR in resolving fallback for shared module @lckr/jupyterlab_variableinspector
|
104
|
-
Module not found: Error: Can't resolve '@lckr/jupyterlab_variableinspector' in '/
|
45
|
+
Module not found: Error: Can't resolve '@lckr/jupyterlab_variableinspector' in '/opt/anaconda3/share/jupyter/lab/staging/build'
|
105
|
-
resolve '@lckr/jupyterlab_variableinspector' in '/
|
46
|
+
resolve '@lckr/jupyterlab_variableinspector' in '/opt/anaconda3/share/jupyter/lab/staging/build'
|
106
47
|
Parsed request is a module
|
107
|
-
using description file: /
|
48
|
+
using description file: /opt/anaconda3/share/jupyter/lab/staging/build/package.json (relative path: .)
|
108
49
|
Field 'browser' doesn't contain a valid alias configuration
|
109
50
|
resolve as module
|
51
|
+
/opt/anaconda3/share/jupyter/lab/staging/build/node_modules doesn't exist or is not a directory
|
52
|
+
looking for modules in /opt/anaconda3/share/jupyter/lab/staging/node_modules
|
53
|
+
single file module
|
54
|
+
using description file: /opt/anaconda3/share/jupyter/lab/staging/package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector)
|
55
|
+
no extension
|
56
|
+
Field 'browser' doesn't contain a valid alias configuration
|
57
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector is not a file
|
58
|
+
.js
|
59
|
+
Field 'browser' doesn't contain a valid alias configuration
|
60
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.js doesn't exist
|
61
|
+
.json
|
62
|
+
Field 'browser' doesn't contain a valid alias configuration
|
63
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.json doesn't exist
|
64
|
+
.wasm
|
65
|
+
Field 'browser' doesn't contain a valid alias configuration
|
66
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.wasm doesn't exist
|
67
|
+
existing directory /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector
|
68
|
+
using description file: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/package.json (relative path: .)
|
69
|
+
using description file: /opt/anaconda3/share/jupyter/lab/staging/package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector)
|
70
|
+
no extension
|
71
|
+
Field 'browser' doesn't contain a valid alias configuration
|
72
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector is not a file
|
73
|
+
.js
|
74
|
+
Field 'browser' doesn't contain a valid alias configuration
|
75
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.js doesn't exist
|
76
|
+
.json
|
77
|
+
Field 'browser' doesn't contain a valid alias configuration
|
78
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.json doesn't exist
|
79
|
+
.wasm
|
80
|
+
Field 'browser' doesn't contain a valid alias configuration
|
81
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector.wasm doesn't exist
|
82
|
+
as directory
|
83
|
+
existing directory /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector
|
84
|
+
using description file: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/package.json (relative path: .)
|
85
|
+
use ./lib/index.js from main in package.json
|
86
|
+
using description file: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/package.json (relative path: ./lib/index.js)
|
87
|
+
no extension
|
88
|
+
Field 'browser' doesn't contain a valid alias configuration
|
89
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js doesn't exist
|
90
|
+
.js
|
91
|
+
Field 'browser' doesn't contain a valid alias configuration
|
92
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js.js doesn't exist
|
93
|
+
.json
|
94
|
+
Field 'browser' doesn't contain a valid alias configuration
|
95
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js.json doesn't exist
|
96
|
+
.wasm
|
97
|
+
Field 'browser' doesn't contain a valid alias configuration
|
98
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js.wasm doesn't exist
|
99
|
+
as directory
|
100
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/lib/index.js doesn't exist
|
101
|
+
using path: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index
|
102
|
+
using description file: /opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/package.json (relative path: ./index)
|
103
|
+
no extension
|
104
|
+
Field 'browser' doesn't contain a valid alias configuration
|
105
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index doesn't exist
|
106
|
+
.js
|
107
|
+
Field 'browser' doesn't contain a valid alias configuration
|
108
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index.js doesn't exist
|
109
|
+
.json
|
110
|
+
Field 'browser' doesn't contain a valid alias configuration
|
111
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index.json doesn't exist
|
112
|
+
.wasm
|
113
|
+
Field 'browser' doesn't contain a valid alias configuration
|
114
|
+
/opt/anaconda3/share/jupyter/lab/staging/node_modules/@lckr/jupyterlab_variableinspector/index.wasm doesn't exist
|
115
|
+
/opt/anaconda3/share/jupyter/lab/node_modules doesn't exist or is not a directory
|
116
|
+
/opt/anaconda3/share/jupyter/node_modules doesn't exist or is not a directory
|
117
|
+
/opt/anaconda3/share/node_modules doesn't exist or is not a directory
|
118
|
+
/opt/anaconda3/node_modules doesn't exist or is not a directory
|
119
|
+
/opt/node_modules doesn't exist or is not a directory
|
120
|
+
/node_modules doesn't exist or is not a directory
|
110
121
|
|
111
|
-
|
122
|
+
webpack 5.31.2 compiled with 1 error and 1 warning in 25282 ms
|
112
123
|
|
113
|
-
|
124
|
+
JupyterLab failed to build
|
125
|
+
Traceback (most recent call last):
|
114
126
|
|
115
|
-
WARNING in ./node_modules/vega-lite/build/src/index.js 5:0-30
|
116
|
-
Should not import the named export 'version' (reexported as 'version') from default-exporting module (only default export is available soon)
|
117
|
-
@ consume shared module (default) vega-lite@^4.0.2 (strict) (fallback: ./node_modules/vega-lite/build/src/index.js)
|
118
|
-
@ ./node_modules/vega-embed/build/vega-embed.module.js 6:0-44 821:16-30
|
119
|
-
@ consume shared module (default) vega-embed@^6.2.1 (strict) (fallback: ./node_modules/vega-embed/build/vega-embed.module.js)
|
120
|
-
@ ./node_modules/@jupyterlab/vega5-extension/lib/index.js 166:28-48
|
121
|
-
|
127
|
+
File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
|
122
|
-
@ ./build/index.out.js 171:16-54
|
123
|
-
|
128
|
+
yield
|
124
129
|
|
130
|
+
File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/labextensions.py", line 133, in start
|
131
|
+
build(clean_staging=self.should_clean,
|
132
|
+
|
133
|
+
File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/commands.py", line 469, in build
|
134
|
+
return handler.build(name=name, version=version, static_url=static_url,
|
135
|
+
|
136
|
+
File "/opt/anaconda3/lib/python3.8/site-packages/jupyterlab/commands.py", line 678, in build
|
137
|
+
raise RuntimeError(msg)
|
138
|
+
|
139
|
+
RuntimeError: JupyterLab failed to build
|
140
|
+
|
141
|
+
Exiting application: lab
|
142
|
+
|
125
|
-
|
143
|
+
```
|
2
logの追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -97,4 +97,29 @@
|
|
97
97
|
インターネットで検索し、できそうなことは試したのですが何がいけないのでしょうか...
|
98
98
|
よろしくお願いします。
|
99
99
|
|
100
|
-
logの内容
|
100
|
+
logの内容でエラーを吐いている内容は下に記します。
|
101
|
+
|
102
|
+
----
|
103
|
+
ERROR in resolving fallback for shared module @lckr/jupyterlab_variableinspector
|
104
|
+
Module not found: Error: Can't resolve '@lckr/jupyterlab_variableinspector' in '/Users/matsusesatoshi/.pyenv/versions/3.9.5/share/jupyter/lab/staging/build'
|
105
|
+
resolve '@lckr/jupyterlab_variableinspector' in '/Users/matsusesatoshi/.pyenv/versions/3.9.5/share/jupyter/lab/staging/build'
|
106
|
+
Parsed request is a module
|
107
|
+
using description file: /Users/matsusesatoshi/.pyenv/versions/3.9.5/share/jupyter/lab/staging/build/package.json (relative path: .)
|
108
|
+
Field 'browser' doesn't contain a valid alias configuration
|
109
|
+
resolve as module
|
110
|
+
|
111
|
+
----
|
112
|
+
|
113
|
+
---
|
114
|
+
|
115
|
+
WARNING in ./node_modules/vega-lite/build/src/index.js 5:0-30
|
116
|
+
Should not import the named export 'version' (reexported as 'version') from default-exporting module (only default export is available soon)
|
117
|
+
@ consume shared module (default) vega-lite@^4.0.2 (strict) (fallback: ./node_modules/vega-lite/build/src/index.js)
|
118
|
+
@ ./node_modules/vega-embed/build/vega-embed.module.js 6:0-44 821:16-30
|
119
|
+
@ consume shared module (default) vega-embed@^6.2.1 (strict) (fallback: ./node_modules/vega-embed/build/vega-embed.module.js)
|
120
|
+
@ ./node_modules/@jupyterlab/vega5-extension/lib/index.js 166:28-48
|
121
|
+
@ consume shared module (default) @jupyterlab/vega5-extension@~3.0.9 (strict) (fallback: ./node_modules/@jupyterlab/vega5-extension/lib/index.js)
|
122
|
+
@ ./build/index.out.js 171:16-54
|
123
|
+
@ ./build/bootstrap.js
|
124
|
+
|
125
|
+
---
|
1
logについて
title
CHANGED
File without changes
|
body
CHANGED
@@ -97,4 +97,4 @@
|
|
97
97
|
インターネットで検索し、できそうなことは試したのですが何がいけないのでしょうか...
|
98
98
|
よろしくお願いします。
|
99
99
|
|
100
|
-
logの内容
|
100
|
+
logの内容が必要そうであれば、追記します。
|