# AWX docker images build error for Kubernetes

**URL:** <https://forum.ansible.com/t/awx-docker-images-build-error-for-kubernetes/34393>\
**Category:** AWX Project\
**Tags:** kubernetes, awx\
**Created:** [January 4, 2021, 9:36pm UTC](https://forum.ansible.com/t/awx-docker-images-build-error-for-kubernetes/34393 "2021-01-04T21:36:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cnu\_k](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Post date:** [January 4, 2021, 9:36pm UTC](https://forum.ansible.com/t/awx-docker-images-build-error-for-kubernetes/34393/1 "2021-01-04T21:36:03Z")

</div>

Hi,

I am running into following error during ‘Build AWX distribution using container’ step, kind of lost here since we do have npm and nodeJS installed on the server where I am running this playbook. Note that we don’t have access to root, so running the playbook and installs using a non-root id which has enough access to create and build docker images.

Any clue on what the issue is and workaround or solution would be?

Also I don’t see /.npm/\_logs/2021-01-04T21\_10\_19\_492Z-debug.log file mentioned in the error anywhere on the server.

Error:

npm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN rollback Rolling back fsevents@2.1.2 failed (this is probably harmless): EBUSY: resource busy or locked, unlink ‘/awx/awx/ui\_next/node\_modules/fsevents/.nfs000000000038f055000084c9’\nnpm WARN rollback Rolling back fsevents@1.2.13 failed (this is probably harmless): EBUSY: resource busy or locked, unlink ‘/awx/awx/ui\_next/node\_modules/jest-haste-map/node\_modules/fsevents/.nfs000000000038df97000084e0’\nnpm WARN rollback Rolling back fsevents@1.2.13 failed (this is probably harmless): EBUSY: resource busy or locked, unlink ‘/awx/awx/ui\_next/node\_modules/webpack-dev-server/node\_modules/fsevents/.nfs000000000036ba95000084d4’\nnpm WARN rollback Rolling back fsevents@1.2.13 failed (this is probably harmless): EBUSY: resource busy or locked, unlink ‘/awx/awx/ui\_next/node\_modules/watchpack-chokidar2/node\_modules/fsevents/.nfs000000000036c231000084e7’\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node\_modules/webpack-dev-server/node\_modules/fsevents):\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node\_modules/watchpack-chokidar2/node\_modules/fsevents):\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node\_modules/jest-haste-map/node\_modules/fsevents):\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node\_modules/fsevents):\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})\n\nadded 2024 packages from 1773 contributors and audited 2030 packages in 1133.177s\n\n100 packages are looking for funding\n run `npm fund` for details\n\nfound 0 vulnerabilities\n\n\n┌──────────────────────────────────────────────┐\n│ npm update check failed │\n│ Try running with sudo or get access │\n│ to the local update config store via │\n│ sudo chown -R $USER:$(id -gn $USER) /.config │\n└──────────────────────────────────────────────┘\nnpm --prefix awx/ui\_next --loglevel warn run extract-strings\n\n\> ui\_next@0.1.0 extract-strings /awx/awx/ui\_next\n\> lingui extract\n\ninternal/modules/cjs/loader.js:883\n throw err;\n ^\n\nError: Cannot find module ‘./filter’\nRequire stack:\n- /awx/awx/ui\_next/node\_modules/fuzzaldrin/lib/fuzzaldrin.js\n- /awx/awx/ui\_next/node\_modules/@lingui/cli/api/utils.js\n- /awx/awx/ui\_next/node\_modules/@lingui/cli/lingui.js\n at Function.Module.\_resolveFilename (internal/modules/cjs/loader.js:880:15)\n at Function.Module.\_load (internal/modules/cjs/loader.js:725:27)\n at Module.require (internal/modules/cjs/loader.js:952:19)\n at require (internal/modules/cjs/helpers.js:88:18)\n at Object. (/awx/awx/ui\_next/node\_modules/fuzzaldrin/lib/fuzzaldrin.js:6:12)\n at Object. (/awx/awx/ui\_next/node\_modules/fuzzaldrin/lib/fuzzaldrin.js:80:4)\n at Module.\_compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module.\_extensions…js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module.\_load (internal/modules/cjs/loader.js:769:14) {\n code: ‘MODULE\_NOT\_FOUND’,\n requireStack: [\n ‘/awx/awx/ui\_next/node\_modules/fuzzaldrin/lib/fuzzaldrin.js’,\n ‘/awx/awx/ui\_next/node\_modules/@lingui/cli/api/utils.js’,\n ‘/awx/awx/ui\_next/node\_modules/@lingui/cli/lingui.js’\n]\n}\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! ui\_next@0.1.0 extract-strings: `lingui extract`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the ui\_next@0.1.0 extract-strings script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /.npm/\_logs/2021-01-04T21\_10\_19\_492Z-debug.log\nmake: \*\*\* [Makefile:480: awx/ui\_next/.ui-built] Error 1\n", “status”: 2}

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=10 changed=2 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0

Thanks,  
Sreeni

---

<div class="post-metadata">

**Author:** ![Abhinit\_Mallick](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Abhinit\_Mallick](https://forum.ansible.com/u/Abhinit_Mallick)\
**Post date:** [January 6, 2021, 1:45pm UTC](https://forum.ansible.com/t/awx-docker-images-build-error-for-kubernetes/34393/2 "2021-01-06T13:45:32Z")

</div>

Hi Sreeni

greetings for the day

Can you please share a snippet of the playbook that you are using please to to do npm tasks

Regards  
Abhinit Mallick

---

<div class="post-metadata">

**Author:** ![Cnu\_k](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Post date:** [January 6, 2021, 2:33pm UTC](https://forum.ansible.com/t/awx-docker-images-build-error-for-kubernetes/34393/3 "2021-01-06T14:33:58Z")

</div>

Abhinit, thanks for the response. Here is the Ansible task definition from awx/installer/roles/image\_build/tasks/main.yaml file. I have not made any changes to this file or section after cloning the repository from Git hub.

- name: Build AWX distribution using container  
docker\_container:  
env:  
http\_proxy: “{{ http\_proxy | default(‘’) }}”  
https\_proxy: “{{ https\_proxy | default(‘’) }}”  
no\_proxy: “{{ no\_proxy | default(‘’) }}”  
image: “awx\_sdist\_builder:{{ awx\_version }}”  
name: awx\_sdist\_builder  
state: started  
user: “{{ uid.stdout }}”  
detach: false  
volumes:
- …/:/awx:Z  
delegate\_to: localhost  
when: use\_container\_for\_build|default(true)|bool

Here is Ansible logout for this task with some more information prior to it failing with the error.

TASK [image\_build : Build AWX distribution using container] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /AWXSB/AnsibleAWX/awx/installer/roles/image\_build/tasks/main.yml:65  
 ESTABLISH LOCAL CONNECTION FOR USER: myadmin  
 EXEC /bin/sh -c ‘echo ~myadmin && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /home/myadmin/.ansible/tmp`”&& mkdir “`echo /home/myadmin/.ansible/tmp/ansible-tmp-1609796097.03-19495-93975508577835`” && echo ansible-tmp-1609796097.03-19495-93975508577835=“`echo /home/myadmin/.ansible/tmp/ansible-tmp-1609796097.03-19495-93975508577835`” ) && sleep 0’  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/cloud/docker/docker\_container.py  
 PUT /home/myadmin/.ansible/tmp/ansible-local-18837byydxr/tmpFA92wC TO /home/myadmin/.ansible/tmp/ansible-tmp-1609796097.03-19495-93975508577835/AnsiballZ\_docker\_container.py  
 EXEC /bin/sh -c ‘chmod u+x /home/myadmin/.ansible/tmp/ansible-tmp-1609796097.03-19495-93975508577835/ /home/myadmin/.ansible/tmp/ansible-tmp-1609796097.03-19495-93975508577835/AnsiballZ\_docker\_container.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/python /home/myadmin/.ansible/tmp/ansible-tmp-1609796097.03-19495-93975508577835/AnsiballZ\_docker\_container.py && sleep 0’  
 EXEC /bin/sh -c ‘rm -f -r /home/myadmin/.ansible/tmp/ansible-tmp-1609796097.03-19495-93975508577835/ \> /dev/null 2\>&1 && sleep 0’  
fatal: [localhost]: FAILED! =\> {  
“changed”: false,  
“invocation”: {  
“module\_args”: {  
“api\_version”: “auto”,  
“auto\_remove”: false,  
“blkio\_weight”: null,  
“ca\_cert”: null,  
“cap\_drop”: null,  
“capabilities”: null,  
“cleanup”: false,  
“client\_cert”: null,  
“client\_key”: null,  
“command”: null,  
“comparisons”: null,  
“cpu\_period”: null,  
“cpu\_quota”: null,  
“cpu\_shares”: null,  
“cpuset\_cpus”: null,  
“cpuset\_mems”: null,  
“debug”: false,  
“detach”: false,  
“device\_read\_bps”: null,  
“device\_read\_iops”: null,  
“device\_write\_bps”: null,  
“device\_write\_iops”: null,  
“devices”: null,  
“dns\_opts”: null,  
“dns\_search\_domains”: null,  
“dns\_servers”: null,  
“docker\_host”: “unix://var/run/docker.sock”,  
“domainname”: null,  
“entrypoint”: null,  
“env”: {  
“http\_proxy”: “”,  
“https\_proxy”: “”,  
“no\_proxy”: “”  
},  
“env\_file”: null,  
“etc\_hosts”: null,  
“exposed\_ports”: null,  
“force\_kill”: false,  
“groups”: null,  
“healthcheck”: null,  
“hostname”: null,  
“ignore\_image”: false,  
“image”: “awx\_sdist\_builder:16.0.0”,  
“init”: false,  
“interactive”: false,  
“ipc\_mode”: null,  
“keep\_volumes”: true,  
“kernel\_memory”: null,  
“kill\_signal”: null,  
“labels”: null,  
“links”: null,  
“log\_driver”: null,  
“log\_options”: null,  
“mac\_address”: null,  
“memory”: “0”,  
“memory\_reservation”: null,  
“memory\_swap”: null,  
“memory\_swappiness”: null,  
“mounts”: null,  
“name”: “awx\_sdist\_builder”,  
“network\_mode”: null,  
“networks”: null,  
“networks\_cli\_compatible”: null,  
“oom\_killer”: null,  
“oom\_score\_adj”: null,  
“output\_logs”: false,  
“paused”: false,  
“pid\_mode”: null,  
“pids\_limit”: null,  
“privileged”: false,  
“published\_ports”: null,  
“pull”: false,  
“purge\_networks”: false,  
“read\_only”: false,  
“recreate”: false,  
“restart”: false,  
“restart\_policy”: null,  
“restart\_retries”: null,  
“runtime”: null,  
“security\_opts”: null,  
“shm\_size”: null,  
“ssl\_version”: null,  
“state”: “started”,  
“stop\_signal”: null,  
“stop\_timeout”: null,  
“sysctls”: null,  
“timeout”: 60,  
“tls”: false,  
“tls\_hostname”: “localhost”,  
“tmpfs”: null,  
“trust\_image\_content”: false,  
“tty”: false,  
“ulimits”: null,  
“user”: “446”,  
“userns\_mode”: null,  
“uts”: null,  
“validate\_certs”: false,  
“volume\_driver”: null,  
“volumes”: [  
“…/:/awx:Z”  
],  
“volumes\_from”: null,  
“working\_dir”: null  
}  
},  
“msg”: "npm --prefix awx/ui\_next --loglevel warn --ignore-scripts install\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, lchown ‘/awx/awx/ui\_next/node\_modules/.staging/semver-96a41615/bin’\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, lchown ‘/awx/awx/ui\_next/node\_modules/.staging/debug-aeec2e21/src’\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, lchown ‘/awx/awx/ui\_next/node\_modules/.staging/@babel/plugin-syntax-async-generators-9ca6456e/lib’\nnpm WARN tar EACCES: permission denied, lchown ‘/awx/awx/ui\_next/node\_modules/.staging/@babel/helper-validator-option-02f16958/lib’\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: permission denied, fchown

---

<div class="post-metadata">

**Author:** ![Abhinit\_Mallick](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Abhinit\_Mallick](https://forum.ansible.com/u/Abhinit_Mallick)\
**Post date:** [January 6, 2021, 3:06pm UTC](https://forum.ansible.com/t/awx-docker-images-build-error-for-kubernetes/34393/4 "2021-01-06T15:06:55Z")

</div>

Hi,

Please share the below outputs

1. output of sudo -l of myadmin user
2. output of ls -ld \< directory where awx repo is cloned \>
3. systemctl status docker

Regards  
Abhinit Mallick

---

<div class="post-metadata">

**Author:** ![Cnu\_k](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Post date:** [January 6, 2021, 4:48pm UTC](https://forum.ansible.com/t/awx-docker-images-build-error-for-kubernetes/34393/5 "2021-01-06T16:48:09Z")

</div>

Here is the output for above 3 commands, removed unwanted information.

[myadmin@dmyadmin01 awx]$ sudo -l  
Matching Defaults entries for myadmin on dmyadmin01:  
!visiblepw, always\_set\_home, match\_group\_by\_gid, always\_query\_group\_plugin, env\_reset, env\_keep=“COLORS DISPLAY HOSTNAME  
HISTSIZE KDEDIR LS\_COLORS”, env\_keep+=“MAIL PS1 PS2 QTDIR USERNAME LANG LC\_ADDRESS LC\_CTYPE”, env\_keep+=“LC\_COLLATE  
LC\_IDENTIFICATION LC\_MEASUREMENT LC\_MESSAGES”, env\_keep+=“LC\_MONETARY LC\_NAME LC\_NUMERIC LC\_PAPER LC\_TELEPHONE”,  
env\_keep+=“LC\_TIME LC\_ALL LANGUAGE LINGUAS \_XKB\_CHARSET XAUTHORITY”, secure\_path=/sbin:/bin:/usr/sbin:/usr/bin,  
iolog\_dir=/var/log/sudo-io/%{user}, log\_output, log\_input

Runas and Command-specific defaults for myadmin:  
Defaults!/usr/bin/sudoreplay !log\_output

User myadmin may run the following commands on dmyadmin01:  
(root) NOPASSWD: ALL  
[myadmin@dmyadmin01 AnsibleAWX]$ cd awx  
[myadmin@dmyadmin01 awx]$ ls -ld  
drwxrwxr-x 13 myadmin myadmin 8192 Jan 4 16:34 .  
[myadmin@dmyadmin01 awx]$

[myadmin@dmyadmin01 awx]$ systemctl status docker  
● docker.service - Docker Application Container Engine  
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)  
Active: active (running)  
Docs: [https://docs.docker.com](https://docs.docker.com)  
Main PID: 31963 (dockerd)  
Tasks: 204  
Memory: 596.9M  
CGroup: /system.slice/docker.service

---

<div class="post-metadata">

**Author:** ![VVVC\_Chen](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@VVVC\_Chen](https://forum.ansible.com/u/VVVC_Chen)\
**Post date:** [October 18, 2021, 12:35pm UTC](https://forum.ansible.com/t/awx-docker-images-build-error-for-kubernetes/34393/6 "2021-10-18T12:35:35Z")

</div>

hi,

I met the same problem while install AWX using local docker mode.

Here is the detail:

—\> Running in 64dcba513948

npm --prefix awx/ui\_next --loglevel warn --ignore-scripts install

npm WARN deprecated @babel/polyfill@7.12.1: ??? This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs ([https://babeljs.io/docs/en/babel-polyfill](https://babeljs.io/docs/en/babel-polyfill)) for more information.

npm WARN deprecated core-js@2.6.12: core-js@\<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

npm WARN deprecated debug@4.2.0: Debug versions \>=3.2.0 \<3.2.7 || \>=4 \<4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ([https://github.com/visionmedia/debug/issues/797](https://github.com/visionmedia/debug/issues/797))

npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

npm WARN deprecated eslint-loader@3.0.3: This loader has been deprecated. Please use eslint-webpack-plugin

npm WARN deprecated fsevents@2.1.2: “Please update to latest v2.3 or v2.2”

npm WARN deprecated html-webpack-plugin@4.0.0-beta.11: please switch to a stable version

npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.

npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1

npm WARN deprecated querystring@0.2.0: The

npm WARN deprecated request@2.88.2: request has been deprecated, see [https://github.com/request/request/issues/3142](https://github.com/request/request/issues/3142)

npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see [https://github.com/request/request/issues/3142](https://github.com/request/request/issues/3142)

npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

npm WARN deprecated @hapi/joi@15.1.1: Switch to ‘npm install joi’

npm WARN deprecated har-validator@5.1.5: this library is no longer supported

npm WARN deprecated urix@0.1.0: Please see [https://github.com/lydell/urix#deprecated](https://github.com/lydell/urix#deprecated)

npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.

npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained

npm WARN deprecated @hapi/address@2.1.4: Moved to ‘npm install @sideway/address’

npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained

npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained

npm WARN deprecated resolve-url@0.2.1: [https://github.com/lydell/resolve-url#deprecated](https://github.com/lydell/resolve-url#deprecated)

npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()

npm WARN @lingui/cli@2.9.2 requires a peer of typescript@2 || 3 || 4 but none is installed. You must install peer dependencies yourself.

npm WARN eslint-config-airbnb@17.1.1 requires a peer of eslint@^4.19.1 || ^5.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN eslint-config-airbnb-base@13.2.0 requires a peer of eslint@^4.19.1 || ^5.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN tsutils@3.21.0 requires a peer of typescript@\>=2.8.0 || \>= 3.2.0-dev || \>= 3.3.0-dev || \>= 3.4.0-dev || \>= 3.5.0-dev || \>= 3.6.0-dev || \>= 3.6.0-beta || \>= 3.7.0-dev || \>= 3.7.0-beta but none is installed. You must install peer dependencies yourself.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node\_modules/webpack-dev-server/node\_modules/fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node\_modules/watchpack-chokidar2/node\_modules/fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node\_modules/jest-haste-map/node\_modules/fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node\_modules/fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node\_modules/chokidar/node\_modules/fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

added 1986 packages from 1820 contributors in 69.156s

125 packages are looking for funding

run `npm fund` for details

npm --prefix awx/ui\_next --loglevel warn run extract-strings

> ui\_next@0.1.0 extract-strings /tmp/src/awx/ui\_next

> lingui extract

No locales defined!

(use “npm --prefix awx/ui\_next --loglevel warn run add-locale ” to add one)

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! ui\_next@0.1.0 extract-strings: `lingui extract`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the ui\_next@0.1.0 extract-strings 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! /root/.npm/\_logs/2021-10-18T11\_54\_17\_746Z-debug.log

make: \*\*\* [Makefile:481: awx/ui\_next/.ui-built] Error 1

The command ‘/bin/sh -c make sdist && /var/lib/awx/venv/awx/bin/pip install dist/awx-$(cat VERSION).tar.gz’ returned a non-zero code: 2

I also read the log, but I did not find any useful information.

Thanks a lot if you can give me some suggestions to solve these problems.

在2021年1月7日星期四 UTC+8 上午12:48:10 写道：
