Issue upgrading to 1.27.2

Describe the problem/error/question

I tried to upgrade to 1.27.2, but getting this error:

npm ERR! code 127

npm ERR! path /home/ec2-user/.nvm/versions/node/v18.14.0/lib/node_modules/n8n/node_modules/@rudderstack/rudder-sdk-node

npm ERR! command failed

npm ERR! command sh -c npx patch-package

npm ERR! sh: line 1: patch-package: command not found

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • **Database (default: SQLite):SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):NPM
  • **Operating system:AWS Linux AMI 2023 / macOS
1 Like

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Kool_Baudrillard,

We typically recommend using Docker as you won’t run into issues like this, Can you share the command you are using to update n8n?

Hi,

npm install -g n8n@next / [email protected] both throw this error.

node js = v18.14.0

Can you share the full log?

npm ERR! code 127

npm ERR! path /home/ec2-user/.nvm/versions/node/v18.12.1/lib/node_modules/n8n/node_modules/@rudderstack/rudder-sdk-node

npm ERR! command failed

npm ERR! command sh -c npx patch-package

npm ERR! npm WARN exec The following package was not found and will be installed: [email protected]

npm ERR! sh: line 1: patch-package: command not found

0 verbose cli /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 0ms
6 timing config:load:builtin Completed in 0ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:project Completed in 1ms
10 timing config:load:file:/Users/XXXXXX/.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:setEnvs Completed in 1ms
15 timing config:load Completed in 4ms
16 timing npm:load:configload Completed in 4ms
17 timing config:load:flatten Completed in 1ms
18 timing npm:load:mkdirpcache Completed in 0ms
19 timing npm:load:mkdirplogs Completed in 0ms
20 verbose title npm exec patch-package
21 verbose argv “exec” “–” “patch-package”
22 timing npm:load:setTitle Completed in 6ms
23 timing npm:load:display Completed in 1ms
24 verbose logfile logs-max:10 dir:/Users/XXXXXXX/.npm/_logs/2024-02-07T10_52_16_284Z-
25 verbose logfile /Users/XXXXXXX/.npm/_logs/2024-02-07T10_52_16_284Z-debug-0.log
26 timing npm:load:logFile Completed in 4ms
27 timing npm:load:timers Completed in 0ms
28 timing npm:load:configScope Completed in 0ms
29 timing npm:load Completed in 26ms
30 silly logfile start cleaning logs, removing 1 files
31 silly logfile done cleaning log files
32 timing arborist:ctor Completed in 0ms
33 http fetch GET 200 https://registry.npmjs.org/patch-package 752ms (cache revalidated)
34 timing arborist:ctor Completed in 0ms
35 timing arborist:ctor Completed in 0ms
36 warn exec The following package was not found and will be installed: [email protected]
37 timing idealTree:init Completed in 0ms
38 timing idealTree:userRequests Completed in 1ms
39 silly idealTree buildDeps
40 silly fetch manifest [email protected]
41 http fetch GET 200 https://registry.npmjs.org/patch-package 2ms (cache hit)
42 silly placeDep ROOT [email protected] OK for: want: 8.0.0
43 silly fetch manifest @yarnpkg/lockfile@^1.1.0
44 silly fetch manifest chalk@^4.1.2
45 silly fetch manifest ci-info@^3.7.0
46 silly fetch manifest cross-spawn@^7.0.3
47 silly fetch manifest find-yarn-workspace-root@^2.0.0
48 silly fetch manifest fs-extra@^9.0.0
49 silly fetch manifest json-stable-stringify@^1.0.2
50 silly fetch manifest klaw-sync@^6.0.0
51 silly fetch manifest minimist@^1.2.6
52 silly fetch manifest open@^7.4.2
53 silly fetch manifest rimraf@^2.6.3
54 silly fetch manifest semver@^7.5.3
55 silly fetch manifest slash@^2.0.0
56 silly fetch manifest tmp@^0.0.33
57 silly fetch manifest yaml@^2.2.2
58 http fetch GET 200 https://registry.npmjs.org/chalk 16ms (cache hit)
59 http fetch GET 200 https://registry.npmjs.org/tmp 15ms (cache hit)
60 http fetch GET 200 https://registry.npmjs.org/slash 16ms (cache hit)
61 http fetch GET 200 https://registry.npmjs.org/semver 16ms (cache hit)
62 http fetch GET 200 https://registry.npmjs.org/minimist 17ms (cache hit)
63 http fetch GET 200 https://registry.npmjs.org/rimraf 17ms (cache hit)
64 http fetch GET 200 https://registry.npmjs.org/cross-spawn 19ms (cache hit)
65 http fetch GET 200 https://registry.npmjs.org/open 19ms (cache hit)
66 http fetch GET 200 https://registry.npmjs.org/yaml 18ms (cache hit)
67 http fetch GET 200 https://registry.npmjs.org/find-yarn-workspace-root 45ms (cache revalidated)
68 http fetch GET 200 https://registry.npmjs.org/ci-info 67ms (cache revalidated)
69 http fetch GET 200 https://registry.npmjs.org/json-stable-stringify 73ms (cache revalidated)
70 http fetch GET 200 https://registry.npmjs.org/fs-extra 89ms (cache revalidated)
71 http fetch GET 200 https://registry.npmjs.org/klaw-sync 102ms (cache revalidated)
72 http fetch GET 200 https://registry.npmjs.org/@yarnpkg%2Flockfile 108ms (cache revalidated)
73 timing idealTree:#root Completed in 113ms
74 silly placeDep node_modules/patch-package @yarnpkg/[email protected] OK for: [email protected] want: ^1.1.0
75 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^4.1.2
76 silly fetch manifest ansi-styles@^4.1.0
77 silly fetch manifest supports-color@^7.1.0
78 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^3.7.0
79 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^7.0.3
80 silly fetch manifest path-key@^3.1.0
81 silly fetch manifest shebang-command@^2.0.0
82 silly fetch manifest which@^2.0.1
83 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.0.0
84 silly fetch manifest micromatch@^4.0.2
85 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^9.0.0
86 silly fetch manifest at-least-node@^1.0.0
87 silly fetch manifest graceful-fs@^4.2.0
88 silly fetch manifest jsonfile@^6.0.1
89 silly fetch manifest universalify@^2.0.0
90 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.0.2
91 silly fetch manifest call-bind@^1.0.5
92 silly fetch manifest isarray@^2.0.5
93 silly fetch manifest jsonify@^0.0.1
94 silly fetch manifest object-keys@^1.1.1
95 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^6.0.0
96 silly fetch manifest graceful-fs@^4.1.11
97 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.2.6
98 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^7.4.2
99 silly fetch manifest is-docker@^2.0.0
100 silly fetch manifest is-wsl@^2.1.1
101 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.6.3
102 silly fetch manifest glob@^7.1.3
103 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^7.5.3
104 silly fetch manifest lru-cache@^6.0.0
105 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.0.0
106 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^0.0.33
107 silly fetch manifest os-tmpdir@~1.0.2
108 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.2.2
109 http fetch GET 200 https://registry.npmjs.org/ansi-styles 20ms (cache hit)
110 http fetch GET 200 https://registry.npmjs.org/supports-color 21ms (cache hit)
111 http fetch GET 200 https://registry.npmjs.org/micromatch 19ms (cache hit)
112 http fetch GET 200 https://registry.npmjs.org/path-key 21ms (cache hit)
113 http fetch GET 200 https://registry.npmjs.org/which 21ms (cache hit)
114 http fetch GET 200 https://registry.npmjs.org/isarray 18ms (cache hit)
115 http fetch GET 200 https://registry.npmjs.org/glob 18ms (cache hit)
116 http fetch GET 200 https://registry.npmjs.org/shebang-command 24ms (cache hit)
117 http fetch GET 200 https://registry.npmjs.org/graceful-fs 23ms (cache hit)
118 http fetch GET 200 https://registry.npmjs.org/os-tmpdir 18ms (cache hit)
119 http fetch GET 200 https://registry.npmjs.org/is-docker 20ms (cache hit)
120 http fetch GET 200 https://registry.npmjs.org/object-keys 22ms (cache hit)
121 http fetch GET 200 https://registry.npmjs.org/graceful-fs 22ms (cache hit)
122 http fetch GET 200 https://registry.npmjs.org/call-bind 23ms (cache hit)
123 http fetch GET 200 https://registry.npmjs.org/lru-cache 20ms (cache hit)
124 http fetch GET 200 https://registry.npmjs.org/is-wsl 22ms (cache hit)
125 http fetch GET 200 https://registry.npmjs.org/at-least-node 43ms (cache revalidated)
126 http fetch GET 200 https://registry.npmjs.org/jsonfile 43ms (cache revalidated)
127 http fetch GET 200 https://registry.npmjs.org/jsonify 42ms (cache revalidated)
128 http fetch GET 200 https://registry.npmjs.org/universalify 49ms (cache revalidated)
129 timing idealTree:node_modules/patch-package Completed in 55ms
130 timing idealTree:node_modules/patch-package/node_modules/@yarnpkg/lockfile Completed in 0ms
131 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^4.1.0
132 silly fetch manifest color-convert@^2.0.1
133 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^7.1.0
134 silly fetch manifest has-flag@^4.0.0
135 http fetch GET 200 https://registry.npmjs.org/color-convert 3ms (cache hit)
136 http fetch GET 200 https://registry.npmjs.org/has-flag 2ms (cache hit)
137 timing idealTree:node_modules/patch-package/node_modules/chalk Completed in 5ms
138 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.0.1
139 silly fetch manifest color-name@~1.1.4
140 http fetch GET 200 https://registry.npmjs.org/color-name 1ms (cache hit)
141 timing idealTree:node_modules/patch-package/node_modules/ansi-styles Completed in 2ms
142 timing idealTree:node_modules/patch-package/node_modules/ci-info Completed in 0ms
143 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ~1.1.4
144 timing idealTree:node_modules/patch-package/node_modules/color-convert Completed in 1ms
145 timing idealTree:node_modules/patch-package/node_modules/color-name Completed in 0ms
146 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^3.1.0
147 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.0.0
148 silly fetch manifest shebang-regex@^3.0.0
149 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.0.1
150 silly fetch manifest isexe@^2.0.0
151 http fetch GET 200 https://registry.npmjs.org/isexe 1ms (cache hit)
152 http fetch GET 200 https://registry.npmjs.org/shebang-regex 1ms (cache hit)
153 timing idealTree:node_modules/patch-package/node_modules/cross-spawn Completed in 3ms
154 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^4.0.2
155 silly fetch manifest braces@^3.0.2
156 silly fetch manifest picomatch@^2.3.1
157 http fetch GET 200 https://registry.npmjs.org/braces 3ms (cache hit)
158 http fetch GET 200 https://registry.npmjs.org/picomatch 3ms (cache hit)
159 timing idealTree:node_modules/patch-package/node_modules/find-yarn-workspace-root Completed in 4ms
160 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.0.0
161 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^4.2.0
162 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^6.0.1
163 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.0.0
164 timing idealTree:node_modules/patch-package/node_modules/fs-extra Completed in 2ms
165 timing idealTree:node_modules/patch-package/node_modules/at-least-node Completed in 0ms
166 timing idealTree:node_modules/patch-package/node_modules/graceful-fs Completed in 0ms
167 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.0.5
168 silly fetch manifest es-errors@^1.3.0
169 silly fetch manifest function-bind@^1.1.2
170 silly fetch manifest get-intrinsic@^1.2.3
171 silly fetch manifest set-function-length@^1.2.0
172 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.0.5
173 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^0.0.1
174 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.1.1
175 http fetch GET 200 https://registry.npmjs.org/es-errors 3ms (cache hit)
176 http fetch GET 200 https://registry.npmjs.org/set-function-length 4ms (cache hit)
177 http fetch GET 200 https://registry.npmjs.org/get-intrinsic 4ms (cache hit)
178 http fetch GET 200 https://registry.npmjs.org/function-bind 4ms (cache hit)
179 timing idealTree:node_modules/patch-package/node_modules/json-stable-stringify Completed in 6ms
180 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.3.0
181 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.1.2
182 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.2.3
183 silly fetch manifest has-proto@^1.0.1
184 silly fetch manifest has-symbols@^1.0.3
185 silly fetch manifest hasown@^2.0.0
186 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.2.0
187 silly fetch manifest define-data-property@^1.1.2
188 silly fetch manifest gopd@^1.0.1
189 silly fetch manifest has-property-descriptors@^1.0.1
190 http fetch GET 200 https://registry.npmjs.org/has-symbols 7ms (cache hit)
191 http fetch GET 200 https://registry.npmjs.org/has-proto 7ms (cache hit)
192 http fetch GET 200 https://registry.npmjs.org/gopd 6ms (cache hit)
193 http fetch GET 200 https://registry.npmjs.org/define-data-property 6ms (cache hit)
194 http fetch GET 200 https://registry.npmjs.org/hasown 8ms (cache hit)
195 http fetch GET 200 https://registry.npmjs.org/has-property-descriptors 7ms (cache hit)
196 timing idealTree:node_modules/patch-package/node_modules/call-bind Completed in 9ms
197 timing idealTree:node_modules/patch-package/node_modules/es-errors Completed in 0ms
198 timing idealTree:node_modules/patch-package/node_modules/function-bind Completed in 0ms
199 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.0.1
200 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.0.3
201 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.0.0
202 timing idealTree:node_modules/patch-package/node_modules/get-intrinsic Completed in 1ms
203 timing idealTree:node_modules/patch-package/node_modules/has-proto Completed in 0ms
204 timing idealTree:node_modules/patch-package/node_modules/has-symbols Completed in 0ms
205 timing idealTree:node_modules/patch-package/node_modules/hasown Completed in 0ms
206 timing idealTree:node_modules/patch-package/node_modules/isarray Completed in 0ms
207 timing idealTree:node_modules/patch-package/node_modules/jsonfile Completed in 0ms
208 timing idealTree:node_modules/patch-package/node_modules/jsonify Completed in 0ms
209 timing idealTree:node_modules/patch-package/node_modules/klaw-sync Completed in 0ms
210 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^3.0.2
211 silly fetch manifest fill-range@^7.0.1
212 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.3.1
213 http fetch GET 200 https://registry.npmjs.org/fill-range 1ms (cache hit)
214 timing idealTree:node_modules/patch-package/node_modules/micromatch Completed in 3ms
215 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^7.0.1
216 silly fetch manifest to-regex-range@^5.0.1
217 http fetch GET 200 https://registry.npmjs.org/to-regex-range 1ms (cache hit)
218 timing idealTree:node_modules/patch-package/node_modules/braces Completed in 1ms
219 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^5.0.1
220 silly fetch manifest is-number@^7.0.0
221 http fetch GET 200 https://registry.npmjs.org/is-number 1ms (cache hit)
222 timing idealTree:node_modules/patch-package/node_modules/fill-range Completed in 2ms
223 timing idealTree:node_modules/patch-package/node_modules/minimist Completed in 0ms
224 timing idealTree:node_modules/patch-package/node_modules/object-keys Completed in 0ms
225 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.0.0
226 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.1.1
227 timing idealTree:node_modules/patch-package/node_modules/open Completed in 1ms
228 timing idealTree:node_modules/patch-package/node_modules/is-docker Completed in 0ms
229 timing idealTree:node_modules/patch-package/node_modules/is-wsl Completed in 0ms
230 timing idealTree:node_modules/patch-package/node_modules/path-key Completed in 0ms
231 timing idealTree:node_modules/patch-package/node_modules/picomatch Completed in 0ms
232 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^7.1.3
233 silly fetch manifest fs.realpath@^1.0.0
234 silly fetch manifest inflight@^1.0.4
235 silly fetch manifest inherits@2
236 silly fetch manifest minimatch@^3.1.1
237 silly fetch manifest once@^1.3.0
238 silly fetch manifest path-is-absolute@^1.0.0
239 http fetch GET 200 https://registry.npmjs.org/fs.realpath 4ms (cache hit)
240 http fetch GET 200 https://registry.npmjs.org/inherits 5ms (cache hit)
241 http fetch GET 200 https://registry.npmjs.org/inflight 6ms (cache hit)
242 http fetch GET 200 https://registry.npmjs.org/once 5ms (cache hit)
243 http fetch GET 200 https://registry.npmjs.org/minimatch 5ms (cache hit)
244 http fetch GET 200 https://registry.npmjs.org/path-is-absolute 6ms (cache hit)
245 timing idealTree:node_modules/patch-package/node_modules/rimraf Completed in 7ms
246 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.0.0
247 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.0.4
248 silly fetch manifest wrappy@1
249 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: 2
250 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^3.1.1
251 silly fetch manifest brace-expansion@^1.1.7
252 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.3.0
253 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.0.0
254 http fetch GET 200 https://registry.npmjs.org/wrappy 3ms (cache hit)
255 http fetch GET 200 https://registry.npmjs.org/brace-expansion 2ms (cache hit)

256 timing idealTree:node_modules/patch-package/node_modules/glob Completed in 4ms
257 timing idealTree:node_modules/patch-package/node_modules/fs.realpath Completed in 0ms
258 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: 1
259 timing idealTree:node_modules/patch-package/node_modules/inflight Completed in 1ms
260 timing idealTree:node_modules/patch-package/node_modules/inherits Completed in 0ms
261 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.1.7
262 silly fetch manifest balanced-match@^1.0.0
263 silly fetch manifest [email protected]
264 http fetch GET 200 https://registry.npmjs.org/balanced-match 2ms (cache hit)
265 http fetch GET 200 https://registry.npmjs.org/concat-map 2ms (cache hit)
266 timing idealTree:node_modules/patch-package/node_modules/minimatch Completed in 2ms
267 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.0.0
268 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: 0.0.1
269 timing idealTree:node_modules/patch-package/node_modules/brace-expansion Completed in 1ms
270 timing idealTree:node_modules/patch-package/node_modules/balanced-match Completed in 0ms
271 timing idealTree:node_modules/patch-package/node_modules/concat-map Completed in 0ms
272 timing idealTree:node_modules/patch-package/node_modules/once Completed in 0ms
273 timing idealTree:node_modules/patch-package/node_modules/path-is-absolute Completed in 0ms
274 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^6.0.0
275 silly fetch manifest yallist@^4.0.0
276 http fetch GET 200 https://registry.npmjs.org/yallist 1ms (cache hit)
277 timing idealTree:node_modules/patch-package/node_modules/semver Completed in 2ms
278 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^4.0.0
279 timing idealTree:node_modules/patch-package/node_modules/lru-cache Completed in 0ms
280 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.1.2
281 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.0.1
282 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^1.0.1
283 timing idealTree:node_modules/patch-package/node_modules/set-function-length Completed in 1ms
284 timing idealTree:node_modules/patch-package/node_modules/define-data-property Completed in 0ms
285 timing idealTree:node_modules/patch-package/node_modules/gopd Completed in 0ms
286 timing idealTree:node_modules/patch-package/node_modules/has-property-descriptors Completed in 0ms
287 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^3.0.0
288 timing idealTree:node_modules/patch-package/node_modules/shebang-command Completed in 1ms
289 timing idealTree:node_modules/patch-package/node_modules/shebang-regex Completed in 0ms
290 timing idealTree:node_modules/patch-package/node_modules/slash Completed in 0ms
291 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^4.0.0
292 timing idealTree:node_modules/patch-package/node_modules/supports-color Completed in 0ms
293 timing idealTree:node_modules/patch-package/node_modules/has-flag Completed in 0ms
294 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ~1.0.2
295 timing idealTree:node_modules/patch-package/node_modules/tmp Completed in 0ms
296 timing idealTree:node_modules/patch-package/node_modules/os-tmpdir Completed in 0ms
297 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^7.0.0
298 timing idealTree:node_modules/patch-package/node_modules/to-regex-range Completed in 1ms
299 timing idealTree:node_modules/patch-package/node_modules/is-number Completed in 0ms
300 timing idealTree:node_modules/patch-package/node_modules/universalify Completed in 0ms
301 silly placeDep node_modules/patch-package [email protected] OK for: [email protected] want: ^2.0.0
302 timing idealTree:node_modules/patch-package/node_modules/which Completed in 0ms
303 timing idealTree:node_modules/patch-package/node_modules/isexe Completed in 0ms
304 timing idealTree:node_modules/patch-package/node_modules/wrappy Completed in 0ms
305 timing idealTree:node_modules/patch-package/node_modules/yallist Completed in 0ms
306 timing idealTree:node_modules/patch-package/node_modules/yaml Completed in 0ms
307 timing idealTree:buildDeps Completed in 229ms
308 timing idealTree:fixDepFlags Completed in 0ms
309 timing idealTree Completed in 232ms
310 timing reify:loadTrees Completed in 232ms
311 timing reify:diffTrees Completed in 3ms
312 silly reify mark retired [
312 silly reify ‘/Users/XXXXXXX/.npm/_npx/1a782c0cdc01f9d4/node_modules/patch-package’,
312 silly reify ‘/Users/XXXXXXX/.npm/_npx/bin/patch-package’
312 silly reify ]
313 silly reify moves {
313 silly reify ‘/Users/XXXXXXX/.npm/_npx/1a782c0cdc01f9d4/node_modules/patch-package’: ‘/Users/XXXXXXX/.npm/_npx/1a782c0cdc01f9d4/node_modules/.patch-package-2wIiDFAl’,
313 silly reify ‘/Users/XXXXXXX/.npm/_npx/bin/patch-package’: ‘/Users/XXXXXXX/.npm/_npx/bin/.patch-package-7TkAnmno’
313 silly reify }
314 timing reify:retireShallow Completed in 2ms
315 timing reify:createSparse Completed in 4ms
316 timing reify:loadBundles Completed in 0ms
317 silly audit bulk request {
317 silly audit ‘patch-package’: [ ‘8.0.0’ ],
317 silly audit ‘@yarnpkg/lockfile’: [ ‘1.1.0’ ],
317 silly audit chalk: [ ‘4.1.2’ ],
317 silly audit ‘ci-info’: [ ‘3.9.0’ ],
317 silly audit ‘cross-spawn’: [ ‘7.0.3’ ],
317 silly audit ‘find-yarn-workspace-root’: [ ‘2.0.0’ ],
317 silly audit ‘fs-extra’: [ ‘9.1.0’ ],
317 silly audit ‘json-stable-stringify’: [ ‘1.1.1’ ],
317 silly audit ‘klaw-sync’: [ ‘6.0.0’ ],
317 silly audit minimist: [ ‘1.2.8’ ],
317 silly audit open: [ ‘7.4.2’ ],
317 silly audit rimraf: [ ‘2.7.1’ ],
317 silly audit semver: [ ‘7.6.0’ ],
317 silly audit slash: [ ‘2.0.0’ ],
317 silly audit tmp: [ ‘0.0.33’ ],
317 silly audit yaml: [ ‘2.3.4’ ],
317 silly audit ‘ansi-styles’: [ ‘4.3.0’ ],
317 silly audit ‘supports-color’: [ ‘7.2.0’ ],
317 silly audit ‘color-convert’: [ ‘2.0.1’ ],
317 silly audit ‘color-name’: [ ‘1.1.4’ ],
317 silly audit ‘path-key’: [ ‘3.1.1’ ],
317 silly audit ‘shebang-command’: [ ‘2.0.0’ ],
317 silly audit which: [ ‘2.0.2’ ],
317 silly audit micromatch: [ ‘4.0.5’ ],
317 silly audit ‘at-least-node’: [ ‘1.0.0’ ],
317 silly audit ‘graceful-fs’: [ ‘4.2.11’ ],
317 silly audit jsonfile: [ ‘6.1.0’ ],
317 silly audit universalify: [ ‘2.0.1’ ],
317 silly audit ‘call-bind’: [ ‘1.0.6’ ],
317 silly audit isarray: [ ‘2.0.5’ ],
317 silly audit jsonify: [ ‘0.0.1’ ],
317 silly audit ‘object-keys’: [ ‘1.1.1’ ],
317 silly audit ‘es-errors’: [ ‘1.3.0’ ],
317 silly audit ‘function-bind’: [ ‘1.1.2’ ],
317 silly audit ‘get-intrinsic’: [ ‘1.2.4’ ],
317 silly audit ‘set-function-length’: [ ‘1.2.1’ ],
317 silly audit ‘has-proto’: [ ‘1.0.1’ ],
317 silly audit ‘has-symbols’: [ ‘1.0.3’ ],
317 silly audit hasown: [ ‘2.0.0’ ],
317 silly audit braces: [ ‘3.0.2’ ],
317 silly audit picomatch: [ ‘2.3.1’ ],
317 silly audit ‘fill-range’: [ ‘7.0.1’ ],
317 silly audit ‘to-regex-range’: [ ‘5.0.1’ ],
317 silly audit ‘is-docker’: [ ‘2.2.1’ ],
317 silly audit ‘is-wsl’: [ ‘2.2.0’ ],
317 silly audit glob: [ ‘7.2.3’ ],
317 silly audit ‘fs.realpath’: [ ‘1.0.0’ ],
317 silly audit inflight: [ ‘1.0.6’ ],
317 silly audit inherits: [ ‘2.0.4’ ],
317 silly audit minimatch: [ ‘3.1.2’ ],
317 silly audit once: [ ‘1.4.0’ ],
317 silly audit ‘path-is-absolute’: [ ‘1.0.1’ ],
317 silly audit wrappy: [ ‘1.0.2’ ],
317 silly audit ‘brace-expansion’: [ ‘1.1.11’ ],
317 silly audit ‘balanced-match’: [ ‘1.0.2’ ],
317 silly audit ‘concat-map’: [ ‘0.0.1’ ],
317 silly audit ‘lru-cache’: [ ‘6.0.0’ ],
317 silly audit yallist: [ ‘4.0.0’ ],
317 silly audit ‘define-data-property’: [ ‘1.1.2’ ],
317 silly audit gopd: [ ‘1.0.1’ ],
317 silly audit ‘has-property-descriptors’: [ ‘1.0.1’ ],
317 silly audit ‘shebang-regex’: [ ‘3.0.0’ ],
317 silly audit ‘has-flag’: [ ‘4.0.0’ ],
317 silly audit ‘os-tmpdir’: [ ‘1.0.2’ ],
317 silly audit ‘is-number’: [ ‘7.0.0’ ],
317 silly audit isexe: [ ‘2.0.0’ ]
317 silly audit }
318 timing reifyNode:node_modules/patch-package/node_modules/wrappy Completed in 50ms
319 timing reifyNode:node_modules/patch-package/node_modules/slash Completed in 50ms
320 timing reifyNode:node_modules/patch-package/node_modules/once Completed in 50ms
321 timing reifyNode:node_modules/patch-package/node_modules/os-tmpdir Completed in 50ms
322 timing reifyNode:node_modules/patch-package/node_modules/shebang-command Completed in 51ms
323 timing reifyNode:node_modules/patch-package/node_modules/universalify Completed in 51ms
324 timing reifyNode:node_modules/patch-package/node_modules/path-is-absolute Completed in 50ms
325 timing reifyNode:node_modules/patch-package/node_modules/inflight Completed in 50ms
326 timing reifyNode:node_modules/patch-package/node_modules/isarray Completed in 50ms
327 timing reifyNode:node_modules/patch-package/node_modules/is-number Completed in 50ms
328 timing reifyNode:node_modules/patch-package/node_modules/color-name Completed in 51ms
329 timing reifyNode:node_modules/patch-package/node_modules/brace-expansion Completed in 51ms
330 timing reifyNode:node_modules/patch-package/node_modules/at-least-node Completed in 51ms
331 timing reifyNode:node_modules/patch-package/node_modules/to-regex-range Completed in 52ms
332 timing reifyNode:node_modules/patch-package/node_modules/supports-color Completed in 53ms
333 timing reifyNode:node_modules/patch-package/node_modules/shebang-regex Completed in 53ms
334 timing reifyNode:node_modules/patch-package/node_modules/path-key Completed in 53ms
335 timing reifyNode:node_modules/patch-package/node_modules/klaw-sync Completed in 52ms
336 timing reifyNode:node_modules/patch-package/node_modules/inherits Completed in 52ms
337 timing reifyNode:node_modules/patch-package/node_modules/is-wsl Completed in 52ms
338 timing reifyNode:node_modules/patch-package/node_modules/has-flag Completed in 52ms
339 timing reifyNode:node_modules/patch-package/node_modules/fill-range Completed in 53ms
340 timing reifyNode:node_modules/patch-package/node_modules/tmp Completed in 54ms
341 timing reifyNode:node_modules/patch-package/node_modules/rimraf Completed in 54ms
342 timing reifyNode:node_modules/patch-package/node_modules/lru-cache Completed in 53ms
343 timing reifyNode:node_modules/patch-package/node_modules/yallist Completed in 54ms
344 timing reifyNode:node_modules/patch-package/node_modules/fs.realpath Completed in 53ms
345 timing reifyNode:node_modules/patch-package/node_modules/micromatch Completed in 53ms
346 timing reifyNode:node_modules/patch-package/node_modules/find-yarn-workspace-root Completed in 53ms
347 timing reifyNode:node_modules/patch-package/node_modules/ansi-styles Completed in 54ms
348 timing reifyNode:node_modules/patch-package/node_modules/is-docker Completed in 54ms
349 timing reifyNode:node_modules/patch-package/node_modules/balanced-match Completed in 54ms
350 timing reifyNode:node_modules/patch-package/node_modules/which Completed in 55ms
351 timing reifyNode:node_modules/patch-package/node_modules/minimatch Completed in 55ms
352 timing reifyNode:node_modules/patch-package/node_modules/graceful-fs Completed in 55ms
353 timing reifyNode:node_modules/patch-package/node_modules/jsonfile Completed in 55ms
354 timing reifyNode:node_modules/patch-package/node_modules/ci-info Completed in 59ms
355 timing reifyNode:node_modules/patch-package/node_modules/concat-map Completed in 59ms
356 timing reifyNode:node_modules/patch-package/node_modules/color-convert Completed in 59ms
357 timing reifyNode:node_modules/patch-package/node_modules/open Completed in 61ms
358 timing reifyNode:node_modules/patch-package/node_modules/isexe Completed in 61ms
359 timing reifyNode:node_modules/patch-package/node_modules/gopd Completed in 61ms
360 timing reifyNode:node_modules/patch-package/node_modules/has-proto Completed in 61ms
361 timing reifyNode:node_modules/patch-package/node_modules/chalk Completed in 61ms
362 timing reifyNode:node_modules/patch-package/node_modules/glob Completed in 61ms
363 timing reifyNode:node_modules/patch-package/node_modules/cross-spawn Completed in 62ms
364 timing reifyNode:node_modules/patch-package/node_modules/has-property-descriptors Completed in 63ms
365 timing reifyNode:node_modules/patch-package/node_modules/hasown Completed in 64ms
366 timing reifyNode:node_modules/patch-package/node_modules/call-bind Completed in 64ms
367 timing reifyNode:node_modules/patch-package/node_modules/jsonify Completed in 64ms
368 timing reifyNode:node_modules/patch-package/node_modules/object-keys Completed in 65ms
369 timing reifyNode:node_modules/patch-package/node_modules/get-intrinsic Completed in 65ms
370 timing reifyNode:node_modules/patch-package/node_modules/braces Completed in 65ms
371 timing reifyNode:node_modules/patch-package/node_modules/set-function-length Completed in 67ms
372 timing reifyNode:node_modules/patch-package/node_modules/function-bind Completed in 66ms
373 timing reifyNode:node_modules/patch-package/node_modules/picomatch Completed in 67ms
374 timing reifyNode:node_modules/patch-package/node_modules/define-data-property Completed in 66ms
375 timing reifyNode:node_modules/patch-package/node_modules/has-symbols Completed in 66ms
376 timing reifyNode:node_modules/patch-package/node_modules/@yarnpkg/lockfile Completed in 68ms
377 timing reifyNode:node_modules/patch-package/node_modules/json-stable-stringify Completed in 69ms
378 timing reifyNode:node_modules/patch-package/node_modules/es-errors Completed in 68ms
379 timing reifyNode:node_modules/patch-package/node_modules/minimist Completed in 70ms
380 timing reifyNode:node_modules/patch-package/node_modules/semver Completed in 79ms
381 timing reifyNode:node_modules/patch-package/node_modules/fs-extra Completed in 81ms
382 timing reifyNode:node_modules/patch-package Completed in 89ms
383 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 183ms
384 timing auditReport:getReport Completed in 184ms
385 silly audit report {}
386 timing auditReport:init Completed in 0ms
387 timing reify:audit Completed in 184ms
388 timing reifyNode:node_modules/patch-package/node_modules/yaml Completed in 184ms
389 timing reify:unpack Completed in 184ms
390 timing reify:unretire Completed in 0ms
391 timing build:queue Completed in 2ms
392 timing build:link:node_modules/patch-package/node_modules/is-docker Completed in 4ms
393 timing build:link:node_modules/patch-package Completed in 5ms
394 timing build:link:node_modules/patch-package/node_modules/rimraf Completed in 4ms
395 timing build:link:node_modules/patch-package/node_modules/semver Completed in 4ms
396 timing build:link:node_modules/patch-package/node_modules/which Completed in 4ms
397 timing build:link Completed in 5ms
398 timing build:deps Completed in 7ms
399 timing build Completed in 7ms
400 timing reify:build Completed in 7ms
401 timing reify:trash Completed in 143ms
402 timing reify Completed in 580ms
403 timing command:exec Completed in 1967ms
404 verbose exit 127
405 timing npm Completed in 2107ms
406 verbose code 127

Hey @Kool_Baudrillard,

Can you try the below.

npm install -g --omit=dev [email protected] --ignore-scripts

Nope doesn´t work aswell, same. euro message

npm ERR! code 127

npm ERR! path /home/ec2-user/.nvm/versions/node/v18.14.0/lib/node_modules/n8n/node_modules/@rudderstack/rudder-sdk-node

npm ERR! command failed

npm ERR! command sh -c npx patch-package

npm ERR! sh: line 1: patch-package: command not found

Interesting that command worked for one of our internal users that had the same message. We are going to update the package causing the issue and have a PR below for that.

If ignore scripts isn’t working though that is a bit of a worry but for now I would recommend using the older version or move to the preferred container option.

1 Like

Thx, ill stick to the older version on the server and will run it in docker on laptop!

1 Like

Updated to 1.29.0 and works like a charm! Perfromancewise it seems to be faster now aswell, at least for a workflow I ran for a test.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.