You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 14, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 14, 2023. It is now read-only.
I am getting TypeError: Cannot read property 'run' of undefined error when i'm trying to deploy. please help me get a fix it. deployment was working fine suddenly i started getting this error.
cmd used: npx shipit staging deploy
Running 'deploy:init' task...
Finished 'deploy:init' after 453 μs
Running 'deploy:fetch' task...
Setup workspace...
/app/node_modules/shipit-cli/lib/Shipit.js:209
return _this.pool.run(command, options);
^
TypeError: Cannot read property 'run' of undefined
at /app/node_modules/shipit-cli/lib/Shipit.js:209:25
at Generator.next (<anonymous>)
at asyncGeneratorStep (/app/node_modules/shipit-cli/lib/Shipit.js:18:103)
at _next (/app/node_modules/shipit-cli/lib/Shipit.js:20:194)
at /app/node_modules/shipit-cli/lib/Shipit.js:20:364
at new Promise (<anonymous>)
at /app/node_modules/shipit-cli/lib/Shipit.js:20:97
at Shipit.remote (/app/node_modules/shipit-cli/lib/Shipit.js:210:7)
at Shipit.<anonymous> (/app/shipitfile.js:34:14)
at Shipit.emit (node:events:381:22)
at Shipit.initialize (/app/node_modules/shipit-cli/lib/Shipit.js:100:10)
at /app/node_modules/shipit-cli/lib/cli.js:89:14
at Generator.next (<anonymous>)
at asyncGeneratorStep (/app/node_modules/shipit-cli/lib/cli.js:19:103)
at _next (/app/node_modules/shipit-cli/lib/cli.js:21:194)
Activity
agnipanda commentedon Jul 11, 2022
Hi @VishalTaj,
I am facing the same problem. Did you get the solution to this?
VishalTaj commentedon Jul 13, 2022
Hi @agnipanda , for me it was the issue with node , npm version. when i changed to correct version issue got fixed.