npmSetup FAILED - Не удалось перейти по символической ссылке - PullRequest
0 голосов
/ 10 января 2019

Я пытаюсь запустить приложение в контейнере Docker на виртуальной машине Linux Linux. После того, как он пытается выполнить следующую строку, он выводит эту ошибку.

Download https://nodejs.org/dist/v10.9.0/node-v10.9.0-linux-x64.tar.gz

> Task :nodeSetup
> Task :npmSetup FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Failed to capture snapshot of output files for task ':npmSetup' property 'npmDir' during up-to-date check.
> Could not list contents of '/app/comsm0010/app/.gradle/npm/npm-v6.2.0/bin/npm'. Couldn't follow symbolic link.

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.UncheckedIOException: Failed to capture snapshot of output files for task ':npmSetup' property 'npmDir' during up-to-date check.
    at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository.snapshotTaskFiles(CacheBackedTaskHistoryRepository.java:298)
    at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository.createExecution(CacheBackedTaskHistoryRepository.java:149)
    at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository.access$100(CacheBackedTaskHistoryRepository.java:60)
    at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository$1.getCurrentExecution(CacheBackedTaskHistoryRepository.java:107)
    at org.gradle.api.internal.changedetection.changes.DefaultTaskArtifactStateRepository$TaskArtifactStateImpl.getStates(DefaultTaskArtifactStateRepository.java:206)
    at org.gradle.api.internal.changedetection.changes.DefaultTaskArtifactStateRepository$TaskArtifactStateImpl.isUpToDate(DefaultTaskArtifactStateRepository.java:95)...

Заранее спасибо за помощь,

Панайотис

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...