我在 ubuntu 上编译代码时遇到以下错误
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.5/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.5/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
collected = self.collect()
File "/usr/local/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 105, in collect
for path, storage in finder.list(self.ignore_patterns):
File "/usr/local/lib/python3.5/site-packages/django/contrib/staticfiles/finders.py", line 131, in list
for path in utils.get_files(storage, ignore_patterns):
File "/usr/local/lib/python3.5/site-packages/django/contrib/staticfiles/utils.py", line 39, in get_files
yield from get_files(storage, ignore_patterns, dir)
File "/usr/local/lib/python3.5/site-packages/django/contrib/staticfiles/utils.py", line 39, in get_files
yield from get_files(storage, ignore_patterns, dir)
File "/usr/local/lib/python3.5/site-packages/django/contrib/staticfiles/utils.py", line 23, in get_files
directories, files = storage.listdir(location)
File "/usr/local/lib/python3.5/site-packages/django/core/files/storage.py", line 316, in listdir
if entry.is_dir():
OSError: [Errno 40] Too many levels of symbolic links: '/app/components/node_modules/@yarn_components/moment/meteor/moment.js'
ERROR: Service 'nginx' failed to build: The command '/bin/sh -c cd components && yarn && cd .. && python3 manage.py collectstatic --noinput && true' returned a non-zero code: 1
我运行了以下命令 sudo dockls -l /usr/bin 并找到以下输出。请提供任何帮助
我正在构建一个 docker 镜像,它在另一个系统上运行良好,但在这个服务器上却不行。使用 ubuntu 18.04。
这里是文件的完整输出。由于长度原因无法在此处添加