Skip to content

Webhook step fails with JS error #78

Open
@suda

Description

@suda

When running the webhook step, it now fails with:

Digest: sha256:c7f49c71808c1351afa0396e0e477ee4fd70ad948c23bdb8ac6c9fd35d81c097                                                                                  
Status: Downloaded newer image for codefresh/webhook-plugin:0.0.5                                                                                                
internal/modules/cjs/loader.js:582                                                                                                                               
    throw err;                                                                                                                                                   
    ^                                                                                                                                                            
                                                                                                                                                                 
Error: Cannot find module 'request-promise'                                                                                                                      
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)                                                                                  
    at Function.Module._load (internal/modules/cjs/loader.js:506:25)                                                                                             
    at Module.require (internal/modules/cjs/loader.js:636:17)                                                                                                    
    at require (internal/modules/cjs/helpers.js:20:18)                                                                                                           
    at Object.<anonymous> (/app/plugin/plugin.logic.js:2:17)                                                                                                     
    at Module._compile (internal/modules/cjs/loader.js:688:30)                                                                                                   
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)                                                                                     
    at Module.load (internal/modules/cjs/loader.js:598:32)                                                                                                       
    at tryModuleLoad (internal/modules/cjs/loader.js:537:12)                                                                                                     
    at Function.Module._load (internal/modules/cjs/loader.js:529:3)

It was working 9 hours ago and I'm assuming db06a7d broke it

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions