So, SM was running fine for some time, then I had this error:
"stack": "TypeError: input.on is not a function\n at new Interface (readline.js:207:11)\n at Object.createInterface (readline.js:75:10)\n at Promise (/home/andrea/streetmerchant/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:179:29)\n at new Promise (<anonymous>)\n at waitForWSEndpoint (/home/andrea/streetmerchant/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:178:12)\n at BrowserRunner.setupConnection (/home/andrea/streetmerchant/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:162:45)\n at ChromeLauncher.launch (/home/andrea/streetmerchant/node_modules/puppeteer/lib/cjs/puppeteer/node/Launcher.js:95:45)"
}
events.js:174
throw er; // Unhandled 'error' event
^
Error: spawn /home/andrea/streetmerchant/node_modules/puppeteer/.local-chromium/linux-856583/chrome-linux/chrome EAGAIN
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! streetmerchant@3.5.0 start: `node build/src/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the streetmerchant@3.5.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/andrea/.npm/_logs/2021-04-25T04_55_22_412Z-debug.log
So, SM was running fine for some time, then I had this error:
Environment
dotenv
```# ** All configuration variables are optional ** # Copy this file and name it as `dotenv` (without backticks) # Read https://jef.codes/streetmerchant/getting-started/#customization for help on customizing this file ######################################################################################################## ASCII_BANNER= ASCII_COLOR= APNS_AUTHKEY= APNS_BUNDLEID= APNS_DEVICETOKEN= APNS_KEYID= APNS_PRODUCTION= APNS_TEAMID= AUTO_ADD_TO_CART="true" BROWSER_TRUSTED= DESKTOP_NOTIFICATIONS= DISCORD_NOTIFY_GROUP= DISCORD_NOTIFY_GROUP_3060= DISCORD_NOTIFY_GROUP_3060TI= DISCORD_NOTIFY_GROUP_3070= DISCORD_NOTIFY_GROUP_3080= DISCORD_NOTIFY_GROUP_3090= DISCORD_NOTIFY_GROUP_CORSAIR_SF= DISCORD_NOTIFY_GROUP_RX6800= DISCORD_NOTIFY_GROUP_RX6800XT= DISCORD_NOTIFY_GROUP_RX6900XT= DISCORD_NOTIFY_GROUP_RYZEN5600= DISCORD_NOTIFY_GROUP_RYZEN5800= DISCORD_NOTIFY_GROUP_RYZEN5900= DISCORD_NOTIFY_GROUP_RYZEN5950= DISCORD_NOTIFY_GROUP_SONYPS5C= DISCORD_NOTIFY_GROUP_SONYPS5DE= DISCORD_NOTIFY_GROUP_XBOXSX= DISCORD_NOTIFY_GROUP_XBOXSS= DISCORD_NOTIFY_GROUP_TEST= DISCORD_WEB_HOOK= #EMAIL_PASSWORD= #EMAIL_TO= #EMAIL_USERNAME= HEADLESS= IN_STOCK_WAIT_TIME= LOG_LEVEL= LOW_BANDWIDTH= MAX_PRICE_SERIES_3060=400 MAX_PRICE_SERIES_3060TI=480 MAX_PRICE_SERIES_3070=600 MAX_PRICE_SERIES_3080=700 MAX_PRICE_SERIES_3090=1500 MAX_PRICE_SERIES_CORSAIR_SF= MAX_PRICE_SERIES_RX6800=700 MAX_PRICE_SERIES_RX6800XT=800 MAX_PRICE_SERIES_RX6900XT=1200 MAX_PRICE_SERIES_RYZEN5600= MAX_PRICE_SERIES_RYZEN5800= MAX_PRICE_SERIES_RYZEN5900= MAX_PRICE_SERIES_RYZEN5950= MAX_PRICE_SERIES_SONYPS5C= MAX_PRICE_SERIES_SONYPS5DE= MAX_PRICE_SERIES_XBOXSS= MAX_PRICE_SERIES_XBOXSX= MAX_PRICE_SERIES_TEST= MICROCENTER_LOCATION= MQTT_BROKER_ADDRESS= MQTT_BROKER_PORT= MQTT_CLIENT_ID= MQTT_PASSWORD= MQTT_QOS= MQTT_TOPIC= MQTT_USERNAME= OPEN_BROWSER= PAGE_BACKOFF_MIN= PAGE_BACKOFF_MAX= PAGE_SLEEP_MIN= PAGE_SLEEP_MAX= PAGE_TIMEOUT=30000 PAGERDUTY_INTEGRATION_KEY= PAGERDUTY_SEVERITY= PHILIPS_HUE_API_KEY= PHILIPS_HUE_CLOUD_ACCESS_TOKEN= PHILIPS_HUE_CLOUD_CLIENT_ID= PHILIPS_HUE_CLOUD_CLIENT_SECRET= PHILIPS_HUE_CLOUD_REFRESH_TOKEN= PHILIPS_HUE_LAN_BRIDGE_IP= PHILIPS_HUE_LIGHT_COLOR= PHILIPS_HUE_LIGHT_IDS= PHILIPS_HUE_LIGHT_PATTERN= PHONE_CARRIER= PHONE_NUMBER= PLAY_SOUND= PROXY_ADDRESS= PROXY_PROTOCOL= PROXY_PORT= PUSHBULLET= PUSHOVER_EXPIRE= PUSHOVER_DEVICE= PUSHOVER_PRIORITY= PUSHOVER_RETRY= PUSHOVER_SOUND= PUSHOVER_TOKEN= PUSHOVER_USER= RESTART_TIME=200000 SCREENSHOT= SHOW_ONLY_BRANDS= SHOW_ONLY_MODELS= SHOW_ONLY_SERIES=rx6700xt,rx6800,rx6800xt #,3060,3060ti,3070,3080 SLACK_CHANNEL= SLACK_TOKEN= SMARTTHINGS_TOKEN= SMARTTHINGS_SWITCH_LABEL= SMTP_ADDRESS= SMTP_PORT= STORES=acompc,akinformatica,alternate,alternate-nl,amazon-de,amazon-de-warehouse,amazon-es,amazon-fr,amazon-it,amazon-nl,amd-de,amd-it,amd-nl,arlt,asus-de,azerty,bpm-power,caseking,comet,computeruniverse,coolblue,coolmod,cyberport,drako,eprice,euronics,evga-eu,expert,futurex,galaxus,gamestop-it,ldlc,mediamarkt,mediamarkt-at,medimax,materiel,ollo,pccomponentes,unieuro TELEGRAM_ACCESS_TOKEN=Logs
0 info it worked if it ends with ok 1 warn npm npm does not support Node.js v10.24.0 2 warn npm You should probably upgrade to a newer version of node as we 3 warn npm can't make any promises that npm will work with this version. 4 warn npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. 5 warn npm You can find the latest version at https://nodejs.org/ 6 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'start' ] 7 info using npm@5.8.0 8 info using node@v10.24.0 9 verbose run-script [ 'prestart', 'start', 'poststart' ] 10 info lifecycle streetmerchant@3.5.0~prestart: streetmerchant@3.5.0 11 verbose lifecycle streetmerchant@3.5.0~prestart: unsafe-perm in lifecycle true 12 verbose lifecycle streetmerchant@3.5.0~prestart: PATH: /usr/share/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/andrea/streetmerchant/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games 13 verbose lifecycle streetmerchant@3.5.0~prestart: CWD: /home/andrea/streetmerchant 14 silly lifecycle streetmerchant@3.5.0~prestart: Args: [ '-c', 'npm run compile' ] 15 silly lifecycle streetmerchant@3.5.0~prestart: Returned: code: 0 signal: null 16 info lifecycle streetmerchant@3.5.0~start: streetmerchant@3.5.0 17 verbose lifecycle streetmerchant@3.5.0~start: unsafe-perm in lifecycle true 18 verbose lifecycle streetmerchant@3.5.0~start: PATH: /usr/share/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/andrea/streetmerchant/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games 19 verbose lifecycle streetmerchant@3.5.0~start: CWD: /home/andrea/streetmerchant 20 silly lifecycle streetmerchant@3.5.0~start: Args: [ '-c', 'node build/src/index.js' ] 21 silly lifecycle streetmerchant@3.5.0~start: Returned: code: 1 signal: null 22 info lifecycle streetmerchant@3.5.0~start: Failed to exec start script 23 verbose stack Error: streetmerchant@3.5.0 start: (/usr/share/npm/node_modules/npm-lifecycle/index.js:283:16)
23 verbose stack at EventEmitter.emit (events.js:198:13)
23 verbose stack at ChildProcess. (/usr/share/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
23 verbose stack at ChildProcess.emit (events.js:198:13)
23 verbose stack at maybeClose (internal/child_process.js:982:16)
23 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
24 verbose pkgid streetmerchant@3.5.0
25 verbose cwd /home/andrea/streetmerchant
26 verbose Linux 4.19.0-16-amd64
27 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "start"
28 verbose node v10.24.0
29 verbose npm v5.8.0
30 error code ELIFECYCLE
31 error errno 1
32 error streetmerchant@3.5.0 start:
node build/src/index.js
23 verbose stack Exit status 1 23 verbose stack at EventEmitter.node build/src/index.js
32 error Exit status 1 33 error Failed at the streetmerchant@3.5.0 start script. 33 error This is probably not a problem with npm. There is likely additional logging output above. 34 verbose exit [ 1, true ]