Topic on Extension talk:Widgets

Composer lock file permission denied

2
Summary by Kghbln

Check the permissions of the respective folder.

Jonathan3 (talkcontribs)

At the composer stage I get the following. Is it anything to worry about? I'm moving to a new server and haven't checked the extension works yet.

Loading composer repositories with package information
Updating dependencies
Lock file operations: 19 installs, 0 updates, 0 removals
  - Locking composer/semver (2.0.0)
  - Locking composer/spdx-licenses (1.5.4)
  - Locking mediawiki/mediawiki-codesniffer (v33.0.0)
  - Locking mediawiki/minus-x (1.1.0)
  - Locking php-parallel-lint/php-console-color (v0.3)
  - Locking php-parallel-lint/php-console-highlighter (v0.5)
  - Locking php-parallel-lint/php-parallel-lint (v1.2.0)
  - Locking psr/container (1.0.0)
  - Locking smarty/smarty (v3.1.36)
  - Locking squizlabs/php_codesniffer (3.5.8)
  - Locking symfony/console (v5.1.8)
  - Locking symfony/polyfill-ctype (v1.20.0)
  - Locking symfony/polyfill-intl-grapheme (v1.20.0)
  - Locking symfony/polyfill-intl-normalizer (v1.20.0)
  - Locking symfony/polyfill-mbstring (v1.20.0)
  - Locking symfony/polyfill-php73 (v1.20.0)
  - Locking symfony/polyfill-php80 (v1.20.0)
  - Locking symfony/service-contracts (v2.2.0)
  - Locking symfony/string (v5.1.8)


  [ErrorException]
  file_put_contents(./composer.lock): failed to open stream: Permission denied


update [--with WITH] [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-autoloader] [--no-scripts] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...

Jonathan3 (talkcontribs)

Apologies: `sudo chown $USER:$USER Widgets` fixed this.