I am using webdriverio . My package.json is having all my dependency. I have created a docker image for my project throught Jenkins using a docker file. Now I am trying run the scripts from Jenkins. It is failing saying module not found. For example in config file I have used var json=require('cjson') . Same has been installed in docker image . But when I run through Jenkins it fails saying module cjson not found
Asked
Active
Viewed 160 times
1 Answers
0
Build container on your local and try to run it from there and check:
**1. Is your dependency installation script running?
- See if there are any error for specific module that's failing**
Best

Sergio13
- 67
- 9