Closed proimage closed 2 years ago
Whenever I try to install a plugin via the Plugin Store under Nitro, I get an error. First it shows the screen "Updating Composer dependencies (this may take a minute)…" for about 2-3 minutes, then it switches to the error screen:
"Composer was unable to install the updates."
...and the scrollable log window has this:
Error: /app/vendor/verbb/cp-nav does not exist and could not be created. Composer output: Loading composer repositories with package information Updating dependencies Lock file operations: 1 install, 0 updates, 0 removals - Locking verbb/cp-nav (3.0.17) Writing lock file Installing dependencies from lock file Package operations: 2 installs, 85 updates, 4 removals - Downloading craftcms/plugin-installer (1.5.7) - Downloading craftcms/plugin-installer (1.5.7) - Downloading craftcms/plugin-installer (1.5.7) - Downloading craftcms/plugin-installer (1.5.7) - Downloading yiisoft/yii2-composer (2.0.10) - Downloading yiisoft/yii2-composer (2.0.10) - Downloading yiisoft/yii2-composer (2.0.10) - Downloading yiisoft/yii2-composer (2.0.10) - Downloading cebe/markdown (1.2.1) - Downloading cebe/markdown (1.2.1) - Downloading cebe/markdown (1.2.1) - Downloading cebe/markdown (1.2.1) - Downloading symfony/polyfill-php80 (v1.24.0) - Downloading symfony/polyfill-php80 (v1.24.0) - Downloading symfony/polyfill-php80 (v1.24.0) - Downloading symfony/polyfill-php80 (v1.24.0) - Downloading symfony/process (v5.4.2) - Downloading symfony/process (v5.4.2) - Downloading symfony/process (v5.4.2) - Downloading symfony/process (v5.4.2) - Downloading symfony/deprecation-contracts (v2.5.0) - Downloading symfony/deprecation-contracts (v2.5.0) - Downloading symfony/deprecation-contracts (v2.5.0) - Downloading symfony/deprecation-contracts (v2.5.0) - Downloading symfony/finder (v5.4.2) - Downloading symfony/finder (v5.4.2) - Downloading symfony/finder (v5.4.2) - Downloading symfony/finder (v5.4.2) - Downloading symfony/polyfill-mbstring (v1.24.0) - Downloading symfony/polyfill-mbstring (v1.24.0) - Downloading symfony/polyfill-mbstring (v1.24.0) - Downloading symfony/polyfill-mbstring (v1.24.0) - Downloading symfony/polyfill-ctype (v1.24.0) - Downloading symfony/polyfill-ctype (v1.24.0) - Downloading symfony/polyfill-ctype (v1.24.0) - Downloading symfony/polyfill-ctype (v1.24.0) - Downloading symfony/filesystem (v5.4.0) - Downloading symfony/filesystem (v5.4.0) - Downloading symfony/filesystem (v5.4.0) - Downloading symfony/filesystem (v5.4.0) - Downloading symfony/polyfill-intl-normalizer (v1.24.0) - Downloading symfony/polyfill-intl-normalizer (v1.24.0) - Downloading symfony/polyfill-intl-normalizer (v1.24.0) - Downloading symfony/polyfill-intl-normalizer (v1.24.0) - Downloading symfony/polyfill-intl-grapheme (v1.24.0) - Downloading symfony/polyfill-intl-grapheme (v1.24.0) - Downloading symfony/polyfill-intl-grapheme (v1.24.0) - Downloading symfony/polyfill-intl-grapheme (v1.24.0) - Downloading symfony/string (v5.4.2) - Downloading symfony/string (v5.4.2) - Downloading symfony/string (v5.4.2) - Downloading symfony/string (v5.4.2) - Downloading psr/container (1.1.1) - Downloading psr/container (1.1.1) - Downloading psr/container (1.1.1) - Downloading psr/container (1.1.1) - Downloading symfony/service-contracts (v2.5.0) - Downloading symfony/service-contracts (v2.5.0) - Downloading symfony/service-contracts (v2.5.0) - Downloading symfony/service-contracts (v2.5.0) - Downloading symfony/polyfill-php73 (v1.24.0) - Downloading symfony/polyfill-php73 (v1.24.0) - Downloading symfony/polyfill-php73 (v1.24.0) - Downloading symfony/polyfill-php73 (v1.24.0) - Downloading symfony/console (v5.4.2) - Downloading symfony/console (v5.4.2) - Downloading symfony/console (v5.4.2) - Downloading symfony/console (v5.4.2) - Downloading seld/phar-utils (1.2.0) - Downloading seld/phar-utils (1.2.0) - Downloading seld/phar-utils (1.2.0) - Downloading seld/phar-utils (1.2.0) - Downloading seld/jsonlint (1.8.3) - Downloading seld/jsonlint (1.8.3) - Downloading seld/jsonlint (1.8.3) - Downloading seld/jsonlint (1.8.3) - Downloading react/promise (v2.8.0) - Downloading react/promise (v2.8.0) - Downloading react/promise (v2.8.0) - Downloading react/promise (v2.8.0) - Downloading psr/log (1.1.4) - Downloading psr/log (1.1.4) - Downloading psr/log (1.1.4) - Downloading psr/log (1.1.4) - Downloading justinrainbow/json-schema (5.2.11) - Downloading justinrainbow/json-schema (5.2.11) - Downloading justinrainbow/json-schema (5.2.11) - Downloading justinrainbow/json-schema (5.2.11) - Downloading composer/pcre (1.0.0) - Downloading composer/pcre (1.0.0) - Downloading composer/pcre (1.0.0) - Downloading composer/pcre (1.0.0) - Downloading composer/xdebug-handler (2.0.4) - Downloading composer/xdebug-handler (2.0.4) - Downloading composer/xdebug-handler (2.0.4) - Downloading composer/xdebug-handler (2.0.4) - Downloading composer/spdx-licenses (1.5.6) - Downloading composer/spdx-licenses (1.5.6) - Downloading composer/spdx-licenses (1.5.6) - Downloading composer/spdx-licenses (1.5.6) - Downloading composer/semver (3.2.7) - Downloading composer/semver (3.2.7) - Downloading composer/semver (3.2.7) - Downloading composer/semver (3.2.7) - Downloading composer/metadata-minifier (1.0.0) - Downloading composer/metadata-minifier (1.0.0) - Downloading composer/metadata-minifier (1.0.0) - Downloading composer/metadata-minifier (1.0.0) - Downloading composer/ca-bundle (1.3.1) - Downloading composer/ca-bundle (1.3.1) - Downloading composer/ca-bundle (1.3.1) - Downloading composer/ca-bundle (1.3.1) - Downloading composer/composer (2.1.9) - Downloading composer/composer (2.1.9) - Downloading composer/composer (2.1.9) - Downloading composer/composer (2.1.9) - Downloading paragonie/random_compat (v9.99.100) - Downloading paragonie/random_compat (v9.99.100) - Downloading paragonie/random_compat (v9.99.100) - Downloading paragonie/random_compat (v9.99.100) - Downloading psr/http-message (1.0.1) - Downloading psr/http-message (1.0.1) - Downloading psr/http-message (1.0.1) - Downloading psr/http-message (1.0.1) - Downloading psr/http-client (1.0.1) - Downloading psr/http-client (1.0.1) - Downloading psr/http-client (1.0.1) - Downloading psr/http-client (1.0.1) - Downloading ralouphie/getallheaders (3.0.3) - Downloading ralouphie/getallheaders (3.0.3) - Downloading ralouphie/getallheaders (3.0.3) - Downloading ralouphie/getallheaders (3.0.3) - Downloading psr/http-factory (1.0.1) - Downloading psr/http-factory (1.0.1) - Downloading psr/http-factory (1.0.1) - Downloading psr/http-factory (1.0.1) - Downloading guzzlehttp/psr7 (2.1.0) - Downloading guzzlehttp/psr7 (2.1.0) - Downloading guzzlehttp/psr7 (2.1.0) - Downloading guzzlehttp/psr7 (2.1.0) - Downloading guzzlehttp/promises (1.5.1) - Downloading guzzlehttp/promises (1.5.1) - Downloading guzzlehttp/promises (1.5.1) - Downloading guzzlehttp/promises (1.5.1) - Downloading guzzlehttp/guzzle (7.4.1) - Downloading guzzlehttp/guzzle (7.4.1) - Downloading guzzlehttp/guzzle (7.4.1) - Downloading guzzlehttp/guzzle (7.4.1) - Downloading league/oauth2-client (2.6.1) - Downloading league/oauth2-client (2.6.1) - Downloading league/oauth2-client (2.6.1) - Downloading league/oauth2-client (2.6.1) - Downloading craftcms/oauth2-craftid (1.0.0.1) - Downloading craftcms/oauth2-craftid (1.0.0.1) - Downloading craftcms/oauth2-craftid (1.0.0.1) - Downloading craftcms/oauth2-craftid (1.0.0.1) - Downloading craftcms/server-check (1.2.3) - Downloading craftcms/server-check (1.2.3) - Downloading craftcms/server-check (1.2.3) - Downloading craftcms/server-check (1.2.3) - Downloading ezyang/htmlpurifier (v4.14.0) - Downloading ezyang/htmlpurifier (v4.14.0) - Downloading ezyang/htmlpurifier (v4.14.0) - Downloading ezyang/htmlpurifier (v4.14.0) - Downloading yiisoft/yii2 (2.0.44) - Downloading yiisoft/yii2 (2.0.44) - Downloading yiisoft/yii2 (2.0.44) - Downloading yiisoft/yii2 (2.0.44) - Downloading symfony/polyfill-php72 (v1.24.0) - Downloading symfony/polyfill-php72 (v1.24.0) - Downloading symfony/polyfill-php72 (v1.24.0) - Downloading symfony/polyfill-php72 (v1.24.0) - Downloading symfony/polyfill-intl-idn (v1.24.0) - Downloading symfony/polyfill-intl-idn (v1.24.0) - Downloading symfony/polyfill-intl-idn (v1.24.0) - Downloading symfony/polyfill-intl-idn (v1.24.0) - Downloading symfony/polyfill-iconv (v1.24.0) - Downloading symfony/polyfill-iconv (v1.24.0) - Downloading symfony/polyfill-iconv (v1.24.0) - Downloading symfony/polyfill-iconv (v1.24.0) - Downloading doctrine/lexer (1.2.2) - Downloading doctrine/lexer (1.2.2) - Downloading doctrine/lexer (1.2.2) - Downloading doctrine/lexer (1.2.2) - Downloading egulias/email-validator (3.1.2) - Downloading egulias/email-validator (3.1.2) - Downloading egulias/email-validator (3.1.2) - Downloading egulias/email-validator (3.1.2) - Downloading swiftmailer/swiftmailer (v6.3.0) - Downloading swiftmailer/swiftmailer (v6.3.0) - Downloading swiftmailer/swiftmailer (v6.3.0) - Downloading swiftmailer/swiftmailer (v6.3.0) - Downloading yiisoft/yii2-swiftmailer (2.1.3) - Downloading yiisoft/yii2-swiftmailer (2.1.3) - Downloading yiisoft/yii2-swiftmailer (2.1.3) - Downloading yiisoft/yii2-swiftmailer (2.1.3) - Downloading yiisoft/yii2-queue (2.3.3) - Downloading yiisoft/yii2-queue (2.3.3) - Downloading yiisoft/yii2-queue (2.3.3) - Downloading yiisoft/yii2-queue (2.3.3) - Downloading opis/closure (3.6.2) - Downloading opis/closure (3.6.2) - Downloading opis/closure (3.6.2) - Downloading opis/closure (3.6.2) - Downloading yiisoft/yii2-debug (2.1.18) - Downloading yiisoft/yii2-debug (2.1.18) - Downloading yiisoft/yii2-debug (2.1.18) - Downloading yiisoft/yii2-debug (2.1.18) - Downloading yii2tech/ar-softdelete (1.0.4) - Downloading yii2tech/ar-softdelete (1.0.4) - Downloading yii2tech/ar-softdelete (1.0.4) - Downloading yii2tech/ar-softdelete (1.0.4) - Downloading webonyx/graphql-php (v14.4.1) - Downloading webonyx/graphql-php (v14.4.1) - Downloading webonyx/graphql-php (v14.4.1) - Downloading webonyx/graphql-php (v14.4.1) - Downloading voku/stop-words (2.0.1) - Downloading voku/stop-words (2.0.1) - Downloading voku/stop-words (2.0.1) - Downloading voku/stop-words (2.0.1) - Downloading voku/portable-ascii (1.5.6) - Downloading voku/portable-ascii (1.5.6) - Downloading voku/portable-ascii (1.5.6) - Downloading voku/portable-ascii (1.5.6) - Downloading voku/portable-utf8 (5.4.51) - Downloading voku/portable-utf8 (5.4.51) - Downloading voku/portable-utf8 (5.4.51) - Downloading voku/portable-utf8 (5.4.51) - Downloading voku/urlify (5.0.5) - Downloading voku/urlify (5.0.5) - Downloading voku/urlify (5.0.5) - Downloading voku/urlify (5.0.5) - Downloading voku/email-check (3.1.0) - Downloading voku/email-check (3.1.0) - Downloading voku/email-check (3.1.0) - Downloading voku/email-check (3.1.0) - Downloading webmozart/assert (1.10.0) - Downloading webmozart/assert (1.10.0) - Downloading webmozart/assert (1.10.0) - Downloading webmozart/assert (1.10.0) - Downloading phpdocumentor/reflection-common (2.2.0) - Downloading phpdocumentor/reflection-common (2.2.0) - Downloading phpdocumentor/reflection-common (2.2.0) - Downloading phpdocumentor/reflection-common (2.2.0) - Downloading phpdocumentor/type-resolver (1.6.0) - Downloading phpdocumentor/type-resolver (1.6.0) - Downloading phpdocumentor/type-resolver (1.6.0) - Downloading phpdocumentor/type-resolver (1.6.0) - Downloading phpdocumentor/reflection-docblock (5.3.0) - Downloading phpdocumentor/reflection-docblock (5.3.0) - Downloading phpdocumentor/reflection-docblock (5.3.0) - Downloading phpdocumentor/reflection-docblock (5.3.0) - Downloading voku/arrayy (7.8.14) - Downloading voku/arrayy (7.8.14) - Downloading voku/arrayy (7.8.14) - Downloading voku/arrayy (7.8.14) - Downloading voku/anti-xss (4.1.34) - Downloading voku/anti-xss (4.1.34) - Downloading voku/anti-xss (4.1.34) - Downloading voku/anti-xss (4.1.34) - Downloading defuse/php-encryption (v2.3.1) - Downloading defuse/php-encryption (v2.3.1) - Downloading defuse/php-encryption (v2.3.1) - Downloading defuse/php-encryption (v2.3.1) - Downloading voku/stringy (6.4.1) - Downloading voku/stringy (6.4.1) - Downloading voku/stringy (6.4.1) - Downloading voku/stringy (6.4.1) - Downloading twig/twig (v2.14.10) - Downloading twig/twig (v2.14.10) - Downloading twig/twig (v2.14.10) - Downloading twig/twig (v2.14.10) - Downloading true/punycode (v2.1.1) - Downloading true/punycode (v2.1.1) - Downloading true/punycode (v2.1.1) - Downloading true/punycode (v2.1.1) - Downloading symfony/yaml (v5.4.2) - Downloading symfony/yaml (v5.4.2) - Downloading symfony/yaml (v5.4.2) - Downloading symfony/yaml (v5.4.2) - Downloading seld/cli-prompt (1.0.4) - Downloading seld/cli-prompt (1.0.4) - Downloading seld/cli-prompt (1.0.4) - Downloading seld/cli-prompt (1.0.4) - Downloading pixelandtonic/imagine (1.2.4.2) - Downloading pixelandtonic/imagine (1.2.4.2) - Downloading pixelandtonic/imagine (1.2.4.2) - Downloading pixelandtonic/imagine (1.2.4.2) - Downloading mikehaertl/php-shellcommand (1.6.4) - Downloading mikehaertl/php-shellcommand (1.6.4) - Downloading mikehaertl/php-shellcommand (1.6.4) - Downloading mikehaertl/php-shellcommand (1.6.4) - Downloading league/mime-type-detection (1.9.0) - Downloading league/mime-type-detection (1.9.0) - Downloading league/mime-type-detection (1.9.0) - Downloading league/mime-type-detection (1.9.0) - Downloading league/flysystem (1.1.9) - Downloading league/flysystem (1.1.9) - Downloading league/flysystem (1.1.9) - Downloading league/flysystem (1.1.9) - Downloading laminas/laminas-zendframework-bridge (1.1.1) - Downloading laminas/laminas-zendframework-bridge (1.1.1) - Downloading laminas/laminas-zendframework-bridge (1.1.1) - Downloading laminas/laminas-zendframework-bridge (1.1.1) - Downloading laminas/laminas-stdlib (3.2.1) - Downloading laminas/laminas-stdlib (3.2.1) - Downloading laminas/laminas-stdlib (3.2.1) - Downloading laminas/laminas-stdlib (3.2.1) - Downloading laminas/laminas-escaper (2.6.1) - Downloading laminas/laminas-escaper (2.6.1) - Downloading laminas/laminas-escaper (2.6.1) - Downloading laminas/laminas-escaper (2.6.1) - Downloading laminas/laminas-feed (2.12.3) - Downloading laminas/laminas-feed (2.12.3) - Downloading laminas/laminas-feed (2.12.3) - Downloading laminas/laminas-feed (2.12.3) - Downloading enshrined/svg-sanitize (0.14.1) - Downloading enshrined/svg-sanitize (0.14.1) - Downloading enshrined/svg-sanitize (0.14.1) - Downloading enshrined/svg-sanitize (0.14.1) - Downloading elvanto/litemoji (3.0.1) - Downloading elvanto/litemoji (3.0.1) - Downloading elvanto/litemoji (3.0.1) - Downloading elvanto/litemoji (3.0.1) - Downloading creocoder/yii2-nested-sets (0.9.0) - Downloading creocoder/yii2-nested-sets (0.9.0) - Downloading creocoder/yii2-nested-sets (0.9.0) - Downloading creocoder/yii2-nested-sets (0.9.0) - Downloading craftcms/cms (3.7.21) - Downloading craftcms/cms (3.7.21) - Downloading craftcms/cms (3.7.21) - Downloading craftcms/cms (3.7.21) - Downloading symfony/translation-contracts (v2.5.0) - Downloading symfony/translation-contracts (v2.5.0) - Downloading symfony/translation-contracts (v2.5.0) - Downloading symfony/translation-contracts (v2.5.0) - Downloading verbb/base (1.0.4) - Downloading verbb/base (1.0.4) - Downloading verbb/base (1.0.4) - Downloading verbb/base (1.0.4)
What's going on? What's going on? What's going on? What's going on?
😁
$ nitro version View the changelog at https://github.com/craftcms/nitro/blob/2.0.8/CHANGELOG.md
Nitro CLI: 2.0.8 Nitro gRPC: 2.0.8 Docker API: 1.41 (1.12 min) Docker CLI: 1.41
- Docker version: ```powershell > docker version Client: Cloud integration: v1.0.22 Version: 20.10.11 API version: 1.41 Go version: go1.16.10 Git commit: dea9396 Built: Thu Nov 18 00:42:51 2021 OS/Arch: windows/amd64 Context: default Experimental: true Server: Docker Engine - Community Engine: Version: 20.10.11 API version: 1.41 (minimum version 1.12) Go version: go1.16.9 Git commit: 847da18 Built: Thu Nov 18 00:35:39 2021 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.4.12 GitCommit: 7b11cfaabd73bb80907dd23182b9347b4245eb5d runc: Version: 1.0.2 GitCommit: v1.0.2-0-g52b36a2 docker-init: Version: 0.19.0 GitCommit: de40ad0 Fri, 2022-01-21 09:02:31
Turns out this is what happens when the files and directories don't have the correct permissions. Sorry! ¯\_(ツ)_/¯
Description
Whenever I try to install a plugin via the Plugin Store under Nitro, I get an error. First it shows the screen "Updating Composer dependencies (this may take a minute)…" for about 2-3 minutes, then it switches to the error screen:
"Composer was unable to install the updates."
...and the scrollable log window has this:
What's going on? What's going on? What's going on? What's going on?
😁
Steps to reproduce
Additional info
Nitro CLI: 2.0.8 Nitro gRPC: 2.0.8 Docker API: 1.41 (1.12 min) Docker CLI: 1.41