View previous topic :: View next topic |
Author |
Message |
jlpoole Guru
Joined: 01 Nov 2005 Posts: 490 Location: Salem, OR
|
Posted: Wed Apr 17, 2024 7:32 pm Post subject: Cesium? |
|
|
I'm exploring using an alternative to Google Earth to display 3D representations. My alternatives appear to be: 1) three.js and 2) Cesium. a "Platform for 3D Geospatial".
So I'm exploring installing Cesium and it, in turn, relies on Node.js (which I acknowledge is frowned upon in Gentoo because of the risk of virus). I searched the Gentoo Forums with the term "cesium" and the most recent result was dated 2017. I thought I'd post here just to mark that in 2024 this intrepid user is trying to install cesium on Gentoo and running into problems. For example, the package Playwright does not recognize the operating system, so it assume Ubuntu and presumably tries to install using apt and fails (see line 50 below).
Code: |
1 (cesium) eos /home/jlpoole/cesium # cd cesium/
2 (cesium) eos /home/jlpoole/cesium/cesium # npm install
3 npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
4 npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
5 npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
6 npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
7 npm WARN deprecated har-validator@5.1.5: this library is no longer supported
8 npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
9 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
10 npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
11
12 > cesium@1.116.0 prepare
13 > gulp prepare && husky install && playwright install --with-deps
14
15 [12:11:53] Using gulpfile /home/jlpoole/cesium/cesium/gulpfile.js
16 [12:11:53] Starting 'prepare'...
17 [12:11:53] Finished 'prepare' after 34 ms
18 install command is deprecated
19 BEWARE: your OS is not officially supported by Playwright; installing dependencies for ubuntu20.04-x64 as a fallback.
20 Installing dependencies...
21 sh: line 1: apt-get: command not found
22 Failed to install browsers
23 Error: Installation process exited with code: 127
24 npm notice
25 npm notice New minor version of npm available! 10.2.4 -> 10.5.2
26 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.5.2
27 npm notice Run npm install -g npm@10.5.2 to update!
28 npm notice
29 npm ERR! code 1
30 npm ERR! path /home/jlpoole/cesium/cesium
31 npm ERR! command failed
32 npm ERR! command sh -c gulp prepare && husky install && playwright install --with-deps
33
34 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-04-17T19_11_33_572Z-debug-0.log
35 (cesium) eos /home/jlpoole/cesium/cesium # npm install -g npm@10.5.2
36
37 removed 26 packages, and changed 73 packages in 1s
38
39 25 packages are looking for funding
40 run `npm fund` for details
41 (cesium) eos /home/jlpoole/cesium/cesium # npm install
42
43 > cesium@1.116.0 prepare
44 > gulp prepare && husky install && playwright install --with-deps
45
46 [12:12:50] Using gulpfile /home/jlpoole/cesium/cesium/gulpfile.js
47 [12:12:50] Starting 'prepare'...
48 [12:12:50] Finished 'prepare' after 34 ms
49 install command is deprecated
50 BEWARE: your OS is not officially supported by Playwright; installing dependencies for ubuntu20.04-x64 as a fallback.
51 Installing dependencies...
52 sh: line 1: apt-get: command not found
53 Failed to install browsers
54 Error: Installation process exited with code: 127
55 npm ERR! code 1
56 npm ERR! path /home/jlpoole/cesium/cesium
57 npm ERR! command failed
58 npm ERR! command sh -c gulp prepare && husky install && playwright install --with-deps
59
60 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-04-17T19_12_48_945Z-debug-0.log
61 (cesium) eos /home/jlpoole/cesium/cesium # |
Maybe this post will serve as a cautionary tale for a Gentoo user considering Cesium. If anyone has successfully installed and/or running Cesium in Gentoo, please chime in. |
|
Back to top |
|
|
jlpoole Guru
Joined: 01 Nov 2005 Posts: 490 Location: Salem, OR
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|