I have a jenkin pipeline that it runs on a docker agent when I run ember build I get this error. Any idea what should I do . I use
image 'node:latest'
and I get this error
+ ./node_modules/.bin/ember build --env production
WARNING: Node v14.3.0 is not tested against Ember CLI on your platform. We recommend that you use the most-recent "Active LTS" version of Node.js. See https://git.io/v7S5n for details.
Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
Building
A system error occurred: uv_os_get_passwd returned ENOENT (no such file or directory)
it turned out all I needed to do was adding docker volumne mapping from /etc/passwd to /etc/passwd. like this :
agent {
docker {
image 'node:12'
args "-v /etc/passwd:/etc/passwd"
reuseNode true
}
}