Solved I cant update MMM-GoogleAssistant get error code 255
-
0 verbose cli /usr/bin/node /usr/bin/npm
1 info using npm@8.19.2
2 info using node@v18.17.1
3 timing npm:load:whichnode Completed in 2ms
4 timing config:load:defaults Completed in 27ms
5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 30ms
6 timing config:load:builtin Completed in 32ms
7 timing config:load:cli Completed in 24ms
8 timing config:load:env Completed in 10ms
9 timing config:load:file:/home/pi/MagicMirror/modules/MMM-GoogleAssistant/.npmrc Completed in 5ms
10 timing config:load:project Completed in 64ms
11 timing config:load:file:/home/pi/.npmrc Completed in 2ms
12 timing config:load:user Completed in 4ms
13 timing config:load:file:/usr/etc/npmrc Completed in 1ms
14 timing config:load:global Completed in 2ms
15 timing config:load:validate Completed in 9ms
16 timing config:load:credentials Completed in 9ms
17 timing config:load:setEnvs Completed in 9ms
18 timing config:load Completed in 196ms
19 timing npm:load:configload Completed in 199ms
20 timing npm:load:mkdirpcache Completed in 9ms
21 timing npm:load:mkdirplogs Completed in 3ms
22 verbose title npm install
23 verbose argv “install”
24 timing npm:load:setTitle Completed in 10ms
25 timing config:load:flatten Completed in 31ms
26 timing npm:load:display Completed in 51ms
27 verbose logfile logs-max:10 dir:/home/pi/.npm/_logs
28 verbose logfile /home/pi/.npm/_logs/2024-03-19T14_00_22_562Z-debug-0.log
29 timing npm:load:logFile Completed in 56ms
30 timing npm:load:timers Completed in 1ms
31 timing npm:load:configScope Completed in 1ms
32 timing npm:load Completed in 339ms
33 timing arborist:ctor Completed in 9ms
34 silly logfile start cleaning logs, removing 1 files
35 silly logfile done cleaning log files
36 timing idealTree:init Completed in 6701ms
37 timing idealTree:userRequests Completed in 2ms
38 silly idealTree buildDeps
39 timing idealTree:#root Completed in 5ms
40 timing idealTree:buildDeps Completed in 17ms
41 timing idealTree:fixDepFlags Completed in 3ms
42 timing idealTree Completed in 6862ms
43 timing reify:loadTrees Completed in 13880ms
44 timing reify:diffTrees Completed in 273ms
45 silly reify mark retired [
45 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/fsevents’
45 silly reify ]
46 silly reify mark retired [
46 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/aix-ppc64’
46 silly reify ]
47 silly reify mark retired [
47 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-arm’
47 silly reify ]
48 silly reify mark retired [
48 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/darwin-arm64’
48 silly reify ]
49 silly reify mark retired [
49 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/darwin-x64’
49 silly reify ]
50 silly reify mark retired [
50 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/freebsd-arm64’
50 silly reify ]
51 silly reify mark retired [
51 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/freebsd-x64’
51 silly reify ]
52 silly reify mark retired [
52 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-arm64’
52 silly reify ]
53 silly reify mark retired [
53 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-ia32’
53 silly reify ]
54 silly reify mark retired [
54 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-mips64el’
54 silly reify ]
55 silly reify mark retired [
55 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-ppc64’
55 silly reify ]
56 silly reify mark retired [
56 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-riscv64’
56 silly reify ]
57 silly reify mark retired [
57 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-s390x’
57 silly reify ]
58 silly reify mark retired [
58 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-x64’
58 silly reify ]
59 silly reify mark retired [
59 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/netbsd-x64’
59 silly reify ]
60 silly reify mark retired [
60 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/openbsd-x64’
60 silly reify ]
61 silly reify mark retired [
61 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/sunos-x64’
61 silly reify ]
62 silly reify mark retired [
62 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-arm64’
62 silly reify ]
63 silly reify mark retired [
63 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-ia32’
63 silly reify ]
64 silly reify mark retired [
64 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-x64’
64 silly reify ]
65 silly reify mark retired [
65 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-x64’
65 silly reify ]
66 silly reify mark retired [
66 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-loong64’
66 silly reify ]
67 silly reify mark retired [
67 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-arm64’
67 silly reify ]
68 silly reify moves {
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/fsevents’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/.fsevents-X670T4S7’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/aix-ppc64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.aix-ppc64-yH0a4yNZ’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-arm’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.android-arm-yRdmLYNz’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/darwin-arm64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.darwin-arm64-xawGppIn’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/darwin-x64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.darwin-x64-AcrRAFg0’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/freebsd-arm64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.freebsd-arm64-LWlwofwO’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/freebsd-x64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.freebsd-x64-gKWWKRNU’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-arm64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.linux-arm64-6nGjZeHX’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-ia32’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.linux-ia32-5AqLU60X’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-mips64el’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.linux-mips64el-AvfLp1pC’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-ppc64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.linux-ppc64-YlVAk8Ku’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-riscv64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.linux-riscv64-tw4f2DnP’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-s390x’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.linux-s390x-a83e959C’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-x64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.linux-x64-b9CI52CU’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/netbsd-x64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.netbsd-x64-UUobgH25’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/openbsd-x64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.openbsd-x64-CsuOfot4’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/sunos-x64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.sunos-x64-qrcr79oI’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-arm64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.win32-arm64-eC1jnCqv’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-ia32’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.win32-ia32-wBHIvV0I’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-x64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.win32-x64-ynCtCWvU’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-x64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.android-x64-RY2x8YbJ’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-loong64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.linux-loong64-ed0zrBfl’,
68 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-arm64’: ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/.android-arm64-cDP5m35b’
68 silly reify }
69 timing reify:retireShallow Completed in 209ms
70 timing reify:createSparse Completed in 126ms
71 timing reify:loadBundles Completed in 0ms
72 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-arm64
73 silly reify mark deleted [
73 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-arm64’
73 silly reify ]
74 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-loong64
75 silly reify mark deleted [
75 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-loong64’
75 silly reify ]
76 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-x64
77 silly reify mark deleted [
77 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-x64’
77 silly reify ]
78 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-x64
79 silly reify mark deleted [
79 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-x64’
79 silly reify ]
80 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-ia32
81 silly reify mark deleted [
81 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-ia32’
81 silly reify ]
82 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-arm64
83 silly reify mark deleted [
83 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/win32-arm64’
83 silly reify ]
84 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/sunos-x64
85 silly reify mark deleted [
85 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/sunos-x64’
85 silly reify ]
86 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/openbsd-x64
87 silly reify mark deleted [
87 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/openbsd-x64’
87 silly reify ]
88 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/netbsd-x64
89 silly reify mark deleted [
89 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/netbsd-x64’
89 silly reify ]
90 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-x64
91 silly reify mark deleted [
91 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-x64’
91 silly reify ]
92 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-s390x
93 silly reify mark deleted [
93 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-s390x’
93 silly reify ]
94 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-riscv64
95 silly reify mark deleted [
95 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-riscv64’
95 silly reify ]
96 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-ppc64
97 silly reify mark deleted [
97 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-ppc64’
97 silly reify ]
98 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-mips64el
99 silly reify mark deleted [
99 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-mips64el’
99 silly reify ]
100 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-ia32
101 silly reify mark deleted [
101 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-ia32’
101 silly reify ]
102 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-arm64
103 silly reify mark deleted [
103 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/linux-arm64’
103 silly reify ]
104 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/freebsd-x64
105 silly reify mark deleted [
105 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/freebsd-x64’
105 silly reify ]
106 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/freebsd-arm64
107 silly reify mark deleted [
107 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/freebsd-arm64’
107 silly reify ]
108 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/darwin-x64
109 silly reify mark deleted [
109 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/darwin-x64’
109 silly reify ]
110 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/darwin-arm64
111 silly reify mark deleted [
111 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/darwin-arm64’
111 silly reify ]
112 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-arm
113 silly reify mark deleted [
113 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/android-arm’
113 silly reify ]
114 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/aix-ppc64
115 silly reify mark deleted [
115 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@esbuild/aix-ppc64’
115 silly reify ]
116 verbose reify failed optional dependency /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/fsevents
117 silly reify mark deleted [
117 silly reify ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/fsevents’
117 silly reify ]
118 timing reifyNode:node_modules/@esbuild/android-arm64 Completed in 83ms
119 timing reifyNode:node_modules/@esbuild/linux-loong64 Completed in 81ms
120 timing reifyNode:node_modules/@esbuild/android-x64 Completed in 79ms
121 timing reifyNode:node_modules/@esbuild/win32-x64 Completed in 78ms
122 timing reifyNode:node_modules/@esbuild/win32-ia32 Completed in 76ms
123 timing reifyNode:node_modules/@esbuild/win32-arm64 Completed in 76ms
124 timing reifyNode:node_modules/@esbuild/sunos-x64 Completed in 77ms
125 timing reifyNode:node_modules/@esbuild/openbsd-x64 Completed in 77ms
126 timing reifyNode:node_modules/@esbuild/netbsd-x64 Completed in 76ms
127 timing reifyNode:node_modules/@esbuild/linux-x64 Completed in 74ms
128 timing reifyNode:node_modules/@esbuild/linux-s390x Completed in 73ms
129 timing reifyNode:node_modules/@esbuild/linux-riscv64 Completed in 73ms
130 timing reifyNode:node_modules/@esbuild/linux-ppc64 Completed in 73ms
131 timing reifyNode:node_modules/@esbuild/linux-mips64el Completed in 72ms
132 timing reifyNode:node_modules/@esbuild/linux-ia32 Completed in 71ms
133 timing reifyNode:node_modules/@esbuild/linux-arm64 Completed in 72ms
134 timing reifyNode:node_modules/@esbuild/freebsd-x64 Completed in 72ms
135 timing reifyNode:node_modules/@esbuild/freebsd-arm64 Completed in 71ms
136 timing reifyNode:node_modules/@esbuild/darwin-x64 Completed in 72ms
137 timing reifyNode:node_modules/@esbuild/darwin-arm64 Completed in 73ms
138 timing reifyNode:node_modules/@esbuild/android-arm Completed in 73ms
139 timing reifyNode:node_modules/@esbuild/aix-ppc64 Completed in 73ms
140 timing reifyNode:node_modules/fsevents Completed in 73ms
141 timing reify:unpack Completed in 104ms
142 timing reify:unretire Completed in 3ms
143 timing build:queue Completed in 20ms
144 timing build:deps Completed in 24ms
145 timing build Completed in 26ms
146 timing reify:build Completed in 35ms
147 timing reify:trash Completed in 70ms
148 timing reify:save Completed in 1737ms
149 timing reify Completed in 17376ms
150 timing command:install Completed in 60569ms
151 verbose stack Error: command failed
151 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
151 verbose stack at ChildProcess.emit (node:events:514:28)
151 verbose stack at maybeClose (node:internal/child_process:1091:16)
151 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:302:5)
152 verbose pkgid MMM-GoogleAssistant@6.2.3
153 verbose cwd /home/pi/MagicMirror/modules/MMM-GoogleAssistant
154 verbose Linux 6.1.21-v7+
155 verbose node v18.17.1
156 verbose npm v8.19.2
157 error code 255
158 error path /home/pi/MagicMirror/modules/MMM-GoogleAssistant
159 error command failed
160 error command sh -c – installer/postinstall.sh -r -b -m
161 verbose exit 255
162 timing npm Completed in 62025ms
163 verbose code 255
164 error A complete log of this run can be found in:
164 error /home/pi/.npm/_logs/2024-03-19T14_00_22_562Z-debug-0.log -
This kind
npm log
says anything
What about past installer logs ?
I will be able to see what happen -
i can check logs tomorrow… now now doing: npm run rebuild and it takes time hours for some reason.
-
npm run rebuild did not complete now i check logs
-
it says i need 0 reputation to post links while trying to post past installer log
-
End of log looks like this
Rebuild Failed
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty’Error: node-gyp failed to rebuild ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty’
at ChildProcess.<anonymous> (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@electron/rebuild/lib/module-type/node-gyp/node-gyp.js:118:24)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
Rebuild Failed
npm ERR! code 255
npm ERR! path /home/pi/MagicMirror/modules/MMM-GoogleAssistant
npm ERR! command failed
npm ERR! command sh -c – installer/postinstall.sh -r -b -mnpm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2024-03-20T15_55_14_080Z-debug-0.log
pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ -
can you try this inside
MMM-GoogleAssistant
Foldernpm run clean npm run reset git pull npm prune npx electron-rebuild
past all log,
thx -
cant post whole log because i do not have 0 reputation
-
This post is deleted! -
now try to send whole log: pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ npx electron-rebuild
⠦ Building module: node-pty, Completed: 0make: Siirrytään hakemistoon ”/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty/build”
CXX(target) Release/obj.target/pty/src/unix/pty.o
In file included from /home/pi/.electron-gyp/28.2.5/include/node/v8-object.h:10,
from /home/pi/.electron-gyp/28.2.5/include/node/v8-array-buffer.h:13,
from /home/pi/.electron-gyp/28.2.5/include/node/v8.h:24,
from /home/pi/.electron-gyp/28.2.5/include/node/node.h:79,
from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
/home/pi/.electron-gyp/28.2.5/include/node/v8-persistent-handle.h:245:44: warning: ‘template<class T> struct v8::CopyablePersistentTraits’ is deprecated: Use v8::Global instead [-Wdeprecated-declarations]
245 | using CopyablePersistent = Persistent<T, CopyablePersistentTraits<T>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/v8-persistent-handle.h:244:48: note: declared here
244 | struct V8_DEPRECATED(“Use v8::Global instead”) CopyablePersistentTraits {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/src/unix/pty.cc:20:
…/…/nan/nan.h:208:16: warning: ‘template<class T> struct v8::CopyablePersistentTraits’ is deprecated: Use v8::Global instead [-Wdeprecated-declarations]
208 | public v8::CopyablePersistentTraits<T> {};
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.electron-gyp/28.2.5/include/node/v8-object.h:10,
from /home/pi/.electron-gyp/28.2.5/include/node/v8-array-buffer.h:13,
from /home/pi/.electron-gyp/28.2.5/include/node/v8.h:24,
from /home/pi/.electron-gyp/28.2.5/include/node/node.h:79,
from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
/home/pi/.electron-gyp/28.2.5/include/node/v8-persistent-handle.h:244:48: note: declared here
244 | struct V8_DEPRECATED(“Use v8::Global instead”) CopyablePersistentTraits {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/src/unix/pty.cc:20:
…/…/nan/nan.h: In function ‘bool Nan::IdleNotification(int)’:
…/…/nan/nan.h:689:32: warning: ‘bool v8::Isolate::IdleNotificationDeadline(double)’ is deprecated: Use MemoryPressureNotification() to influence the GC schedule. [-Wdeprecated-declarations]
689 | idle_time_in_ms * 0.001);
| ^
In file included from /home/pi/.electron-gyp/28.2.5/include/node/v8-initialization.h:13,
from /home/pi/.electron-gyp/28.2.5/include/node/v8.h:34,
from /home/pi/.electron-gyp/28.2.5/include/node/node.h:79,
from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
/home/pi/.electron-gyp/28.2.5/include/node/v8-isolate.h:1345:8: note: declared here
1345 | bool IdleNotificationDeadline(double deadline_in_seconds);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/src/unix/pty.cc:20:
…/…/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::Sig)’:
…/…/nan/nan.h:2560:3: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Localv8::String&, void (&)(v8::Localv8::Name, const v8::PropertyCallbackInfov8::Value&), void (&)(v8::Localv8::Name, v8::Localv8::Value, const v8::PropertyCallbackInfo<void>&), v8::Localv8::Object&, v8::PropertyAttribute&)’
2560 | );
| ^
In file included from /home/pi/.electron-gyp/28.2.5/include/node/v8-function.h:15,
from /home/pi/.electron-gyp/28.2.5/include/node/v8.h:33,
from /home/pi/.electron-gyp/28.2.5/include/node/node.h:79,
from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:809:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::String, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
809 | void SetAccessor(
| ^~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:812:57: note: no known conversion for argument 5 from ‘v8::PropertyAttribute’ to ‘v8::AccessControl’
812 | Local<Value> data = Local<Value>(), AccessControl settings = DEFAULT,
|~~~^
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:816:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
816 | void SetAccessor(
| ^~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:819:57: note: no known conversion for argument 5 from ‘v8::PropertyAttribute’ to ‘v8::AccessControl’
819 | Local<Value> data = Local<Value>(), AccessControl settings = DEFAULT,
|~~~^
In file included from …/src/unix/pty.cc:20:
…/…/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute)’:
…/…/nan/nan.h:2605:3: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Localv8::String&, void (&)(v8::Localv8::Name, const v8::PropertyCallbackInfov8::Value&), void (&)(v8::Localv8::Name, v8::Localv8::Value, const v8::PropertyCallbackInfo<void>&), v8::Localv8::Object&, v8::PropertyAttribute&)’
2605 | );
| ^
In file included from /home/pi/.electron-gyp/28.2.5/include/node/v8-function.h:15,
from /home/pi/.electron-gyp/28.2.5/include/node/v8.h:33,
from /home/pi/.electron-gyp/28.2.5/include/node/node.h:79,
from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:809:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::String, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
809 | void SetAccessor(
| ^~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:812:57: note: no known conversion for argument 5 from ‘v8::PropertyAttribute’ to ‘v8::AccessControl’
812 | Local<Value> data = Local<Value>(), AccessControl settings = DEFAULT,
|~~~^
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:816:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
816 | void SetAccessor(
| ^~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:819:57: note: no known conversion for argument 5 from ‘v8::PropertyAttribute’ to ‘v8::AccessControl’
819 | Local<Value> data = Local<Value>(), AccessControl settings = DEFAULT,
|~~~^
…/src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’:
…/src/unix/pty.cc:609:43: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class Nan::Persistentv8::Function’ with no trivial copy-assignment [-Wclass-memaccess]
609 | memset(&baton->cb, -1, sizeof(baton->cb));
| ^
In file included from …/…/nan/nan.h:411,
from …/src/unix/pty.cc:20:
…/…/nan/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistentv8::Function’ declared here
12 | template<typename T, typename M> class Persistent :
| ^~~~~~~~~~
In file included from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
…/src/unix/pty.cc: At global scope:
/home/pi/.electron-gyp/28.2.5/include/node/node.h:1040:7: warning: cast between incompatible function types from ‘void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Localv8::Object)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void)’} [-Wcast-function-type]
1040 | (node::addon_register_func) (regfunc),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/node.h:1074:3: note: in expansion of macro ‘NODE_MODULE_X’
1074 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
…/src/unix/pty.cc:826:1: note: in expansion of macro ‘NODE_MODULE’
826 | NODE_MODULE(pty, init)
| ^~~~~~~~~~~
make: *** [pty.target.mk:119: Release/obj.target/pty/src/unix/pty.o] Virhe 1
make: Poistutaan hakemistosta ”/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty/build”
Error:make
failed with exit code: 2
at ChildProcess.onExit (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-gyp/lib/build.js:203:23)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)Rebuild Failed
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty’Error: node-gyp failed to rebuild ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty’
at ChildProcess.<anonymous> (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@electron/rebuild/lib/module-type/node-gyp/node-gyp.js:118:24)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ -
@bugsounet any idea?
-
I also get same error 255 while updating EXT-Detector
Other modules update okay. -
it’s because you use electron v28.2.5
In main branch of MM² electron version is27.2.0
I test with v28.2.5 and rebuild failed
bugsounet@Kubuntu:~/MagicMirror$ npm install electron@28 changed 1 package in 5s 219 packages are looking for funding run `npm fund` for details bugsounet@Kubuntu:~/MagicMirror$ cd modules/EXT-Detector/ bugsounet@Kubuntu:~/MagicMirror/modules/EXT-Detector$ npx electron-rebuild ... /home/bugsounet/.electron-gyp/28.2.5/include/node/node.h ... ✖ Rebuild Failed
works with electron v27
ugsounet@Kubuntu:~/MagicMirror$ npm install electron@27 changed 1 package in 3s 219 packages are looking for funding run `npm fund` for details bugsounet@Kubuntu:~/MagicMirror$ cd modules/EXT-Detector/ bugsounet@Kubuntu:~/MagicMirror/modules/EXT-Detector$ npx electron-rebuild ✔ Rebuild Complete
-
@bugsounet yes that was solution and now everything works like charm
️ i’m going to support you more for your good work
️
-
-
That why I write some test suite for testing full installer
Sample with
MMM-GoogleAssistant
prelease v6.2.4I test with master branch of MM² and develop branch of MM² (for next release)
If all is green -> yes it’s good, I can release !
in other case (red) … I have to adjust