Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MyScoreboard not cloning necessary files #80

Open
rslohs1 opened this issue Dec 14, 2023 · 0 comments
Open

MyScoreboard not cloning necessary files #80

rslohs1 opened this issue Dec 14, 2023 · 0 comments

Comments

@rslohs1
Copy link

rslohs1 commented Dec 14, 2023

New install of MagicMirror and have the rest of the modules finally running after manually installing node modules that I kept getting errors for. I'm still getting issues wiht MMM-MyScoreboard, and it appears there is a corrupt file in the clone. This may be a stupid question, but how can I fix or access an uncorrupted version?

Thanks.

`pi@raspberrypi:~/MagicMirror $ npm run start

[email protected] start
DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

[13.12.2023 23:37.27.831] [LOG] Starting MagicMirror: v2.25.0
[13.12.2023 23:37.27.840] [LOG] Loading config ...
[13.12.2023 23:37.27.846] [DEBUG] config template file not exists, no envsubst
[13.12.2023 23:37.27.860] [LOG] Loading module helpers ...
[13.12.2023 23:37.27.863] [LOG] No helper found for module: alert.
[13.12.2023 23:37.27.924] [LOG] Initializing new module helper ...
[13.12.2023 23:37.27.925] [LOG] Module helper loaded: updatenotification
[13.12.2023 23:37.27.928] [LOG] No helper found for module: clock.
[13.12.2023 23:37.28.090] [LOG] Initializing new module helper ...
[13.12.2023 23:37.28.091] [LOG] Module helper loaded: MMM-Weather
[13.12.2023 23:37.28.104] [LOG] Initializing new module helper ...
[13.12.2023 23:37.28.105] [LOG] Module helper loaded: MMM-RAIN-RADAR
[13.12.2023 23:37.28.992] [LOG] Initializing new module helper ...
[13.12.2023 23:37.28.993] [LOG] Module helper loaded: MMM-CalendarWeek
[13.12.2023 23:37.29.313] [LOG] Initializing new module helper ...
[13.12.2023 23:37.29.314] [LOG] Module helper loaded: newsfeed
[13.12.2023 23:37.29.400] [LOG] Initializing new module helper ...
[13.12.2023 23:37.29.400] [LOG] Module helper loaded: MMM-MyScoreboard
[13.12.2023 23:37.29.402] [LOG] All module helpers loaded.
[13.12.2023 23:37.29.424] [LOG] Starting server on port 8080 ...
[13.12.2023 23:37.31.538] [LOG] Server started ...
[13.12.2023 23:37.31.541] [LOG] Connecting socket for: updatenotification
[13.12.2023 23:37.31.544] [LOG] Starting module helper: updatenotification
[13.12.2023 23:37.31.546] [LOG] Connecting socket for: MMM-Weather
[13.12.2023 23:37.31.547] [LOG] Connecting socket for: MMM-RAIN-RADAR
[13.12.2023 23:37.31.549] [LOG] Starting node helper for: MMM-RAIN-RADAR
[13.12.2023 23:37.31.551] [LOG] Connecting socket for: MMM-CalendarWeek
[13.12.2023 23:37.31.553] [LOG] Starting node helper for: MMM-CalendarWeek
[13.12.2023 23:37.31.554] [LOG] Connecting socket for: newsfeed
[13.12.2023 23:37.31.555] [LOG] Starting node helper for: newsfeed
[13.12.2023 23:37.31.556] [LOG] Connecting socket for: MMM-MyScoreboard
[13.12.2023 23:37.31.558] [LOG] Starting node_helper for module [MMM-MyScoreboard]
[13.12.2023 23:37.31.630] [ERROR] Error when starting node_helper for module MMM-MyScoreboard:
[13.12.2023 23:37.31.632] [ERROR] /home/pi/MagicMirror/modules/MMM-MyScoreboard/node_modules/psl/index.js:174
���dicv!d:(va�se� };

SyntaxError: Invalid or unexpected token
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1185:20)
at Module._compile (node:internal/modules/cjs/loader:1227:27)
at Object..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/home/pi/MagicMirror/modules/MMM-MyScoreboard/node_modules/tough-cookie/lib/pubsuffix-psl.js:32:11)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
[13.12.2023 23:37.31.633] [LOG] Sockets connected & modules started ...
[13.12.2023 23:37.31.781] [LOG] Launching application.
[3278:1213/233733.658024:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
[13.12.2023 23:37.37.043] [LOG] Shutting down server...
[13.12.2023 23:37.37.045] [LOG] Stopping module helper: updatenotification
[13.12.2023 23:37.37.046] [LOG] Stopping module helper: MMM-Weather
[13.12.2023 23:37.37.047] [LOG] Stopping module helper: MMM-RAIN-RADAR
[13.12.2023 23:37.37.048] [LOG] Stopping module helper: MMM-CalendarWeek
[13.12.2023 23:37.37.049] [LOG] Stopping module helper: newsfeed
[13.12.2023 23:37.37.050] [LOG] Stopping module helper: MMM-MyScoreboard
[13.12.2023 23:37.37.052] [LOG] Node_helpers stopped ...
pi@raspberrypi:/MagicMirror $ cd
pi@raspberrypi:
$ cd MagicMirror/modules/MMM-MyScoreboard
pi@raspberrypi:~/MagicMirror/modules/MMM-MyScoreboard $ npm install

up to date, audited 55 packages in 5s

2 packages are looking for funding
run npm fund for details

4 vulnerabilities (3 moderate, 1 high)

To address issues that do not require attention, run:
npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run npm audit for details.
pi@raspberrypi:~/MagicMirror/modules/MMM-MyScoreboard $ git pull
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint: git config pull.rebase false # merge (the default strategy)
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
remote: Enumerating objects: 79, done.
remote: Counting objects: 100% (79/79), done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 79 (delta 23), reused 72 (delta 23), pack-reused 0
Unpacking objects: 100% (79/79), 358.28 KiB | 1.16 MiB/s, done.
error: inflate: data stream error (incorrect header check)
error: failed to read delta base object 62ca42be08990892353f2385bab0413edb7d13ed at offset 14761324 from .git/objects/pack/pack-b360035949176e08d8ab6fe3f726a69fddfade85.pack
fatal: packed object 689b04809684e401fac72ba2c1aa56fe72ee74ae (stored in .git/objects/pack/pack-b360035949176e08d8ab6fe3f726a69fddfade85.pack) is corrupt
error: https://github.com/jclarke0000/MMM-MyScoreboard did not send all necessary objects
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant