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

npm ERR! via docker #35

Open
shgubar opened this issue Nov 14, 2022 · 0 comments
Open

npm ERR! via docker #35

shgubar opened this issue Nov 14, 2022 · 0 comments

Comments

@shgubar
Copy link

shgubar commented Nov 14, 2022

Hi,

I use docker for start ewpe-smart-mqtt and all working fine, but after each run in log have "npm errors":

npm ERR! path /opt/ewpe-smart-mqtt
npm ERR! command failed
npm ERR! signal SIGTERM
npm ERR! command sh -c node index.js

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-11-14T08_35_41_582Z-debug-0.log

Additional inforamtion:

/opt/ewpe-smart-mqtt # npm --version
9.1.1

/opt/ewpe-smart-mqtt # node --version
v18.4.0

/opt/ewpe-smart-mqtt # cat /root/.npm/_logs/2022-11-14T08_35_41_582Z-debug-0.log
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 3ms
4 timing config:load:defaults Completed in 7ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 5ms
6 timing config:load:builtin Completed in 9ms
7 timing config:load:cli Completed in 6ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:/opt/ewpe-smart-mqtt/.npmrc Completed in 9ms
10 timing config:load:project Completed in 27ms
11 timing config:load:file:/root/.npmrc Completed in 0ms
12 timing config:load:user Completed in 2ms
13 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 1ms
15 timing config:load:setEnvs Completed in 4ms
16 timing config:load Completed in 59ms
17 timing npm:load:configload Completed in 60ms
18 timing npm:load:mkdirpcache Completed in 1ms
19 timing npm:load:mkdirplogs Completed in 0ms
20 verbose title npm start
21 verbose argv "start"
22 timing npm:load:setTitle Completed in 5ms
23 timing config:load:flatten Completed in 13ms
24 timing npm:load:display Completed in 17ms
25 verbose logfile logs-max:10 dir:/root/.npm/_logs/2022-11-13T19_04_08_122Z-
26 verbose logfile /root/.npm/_logs/2022-11-13T19_04_08_122Z-debug-0.log
27 timing npm:load:logFile Completed in 18ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 108ms
31 silly logfile start cleaning logs, removing 1 files
32 timing config:load:flatten Completed in 1ms
33 silly logfile done cleaning log files
34 timing command:run-script Completed in 1343437ms
35 timing command:start Completed in 1343451ms
36 verbose stack Error: command failed
36 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
36 verbose stack     at ChildProcess.emit (node:events:537:28)
36 verbose stack     at maybeClose (node:internal/child_process:1091:16)
36 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
37 verbose pkgid [email protected]
38 verbose cwd /opt/ewpe-smart-mqtt
39 verbose Linux 5.10.103-v7l+
40 verbose node v18.4.0
41 verbose npm  v9.1.1
42 error path /opt/ewpe-smart-mqtt
43 error command failed
44 error signal SIGTERM
45 error command sh -c node index.js
46 verbose exit 1
47 timing npm Completed in 1343614ms
48 verbose code 1
49 error A complete log of this run can be found in:
49 error     /root/.npm/_logs/2022-11-13T19_04_08_122Z-debug-0.log

Please help with this issue.

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