Comments (7)
Would it be possible to share the error message you are facing?
from dietpi.
Step: Installing MineOS: Minecraft servers with web interface (Java/Node.js)
[ OK ] DietPi-Software | Checking URL: https://github.com/hexparrot/mineos-node.git
[ INFO ] DietPi-Software | APT install rdiff-backup rsync screen make g++, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:10.2.1-1+rpi1).
make is already the newest version (4.3-4.1).
rdiff-backup is already the newest version (2.0.5-2).
rsync is already the newest version (3.2.3-4+deb11u1).
screen is already the newest version (4.8.0-6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[ OK ] DietPi-Software | APT install rdiff-backup rsync screen make g++
[ OK ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/mineos
[ OK ] DietPi-Software | cd /mnt/dietpi_userdata/mineos
[ OK ] DietPi-Software | cd minecraft
[ INFO ] DietPi-Software | ./update_webui.sh, please wait...
Script execution started on: Fri Oct 27 20:45:29 CEST 2023
Updating mineos-node repository...OK
Pulling master branch...From https://github.com/hexparrot/mineos-node
* branch master -> FETCH_HEAD
OK
Updating npm dependencies.../usr/local/lib/node_modules/npm/lib/es6/validate-engines.js:31
throw err
^
TypeError: LRUCache is not a constructor
at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/cacache/lib/memoization.js:5:18)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/cacache/lib/get.js:8:14)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
Node.js v21.1.0
FAILED
[FAILED] DietPi-Software | ./update_webui.sh
from dietpi.
hmm for me this is working without issue
[ INFO ] DietPi-Software | ./update_webui.sh, please wait...
Script execution started on: Sat Oct 28 19:43:26 CEST 2023
Updating mineos-node repository...OK
Pulling master branch...From https://github.com/hexparrot/mineos-node
* branch master -> FETCH_HEAD
OK
Updating npm dependencies...OK
Setting node javascript files to executable...OK
Script execution ended on: Sat Oct 28 19:43:45 CEST 2023
from dietpi.
After reinstalling DietPi on the same USB stick and installing MineOS as the first software package, the installation went smoothly.
from dietpi.
Hmm, ./update_webui.sh
is only executed if MineOS was installed before, respectively it the repo was cloned and execute permissions applied to this script. Did it fail before and you retried once?
from dietpi.
Yes, I tried several times.
from dietpi.
Okay then it makes sense. Was this an older image with possibly other Node.js software installed? Node sometimes runs into incompatibilities between global (system-wise) and local modules/dependencies. At least we know this from Node-RED. Probably it was similar here.
from dietpi.
Related Issues (20)
- nfs problem when trying to HOT 2
- PiVPN with Wireguard add keep alive HOT 7
- Open Beta v8.25 | Please help testing and hardening our upcoming release HOT 1
- concurrent execution of dietpi-backup after lost ssh connection HOT 6
- please update tasmoadmin HOT 14
- DietPi-Backup Error after update to 8.25 HOT 2
- Very first run from a fresh install gives error "HTTP/2 stream 1 was not closed cleanly before end of the underlying stream" while doing the DietPi-Update". HOT 7
- Iteration v9.0 (2024-01-20)
- DietPi-Installer | Prevent empty /etc/resolv.conf on NetMan uninstall HOT 9
- Migration script causes failure to load device overlays on RPi 4B HOT 5
- Raspberry Pi 5 - Backup failed after migration from Pi 4 HOT 4
- Migration script Pi4 - umount: /boot: target is busy. HOT 7
- RPi 4 fails to upgrade packages HOT 5
- FAILED first run, Rockport QuartzA board, flashed latest dietpi image to 128G eMMC card, powered on HOT 1
- Installing Docker and Portainer fails HOT 4
- Raspberry Pi | libc-bin segmentation fault when using USB-SD adapter HOT 29
- DietPi-Software | Uninstall / Install / Update HOT 3
- Rock 3C HOT 2
- Image | Orange Pi Zero 2W HOT 91
- Kodi fails to start HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dietpi.