You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently downloaded the latest plugin version of mason.nvim
Yes
Problem description
I have a Docker container with php and composer installed. I want to install phpactor (from the host). I created the following scripts:
composer
#!/bin/bash
docker exec mycontainer composer "$@"
php
#!/bin/bash
docker exec mycontainer php "$@"
in ~/.bin and added ~/.bin to the PATH with vim.env.PATH = vim.env.PATH .. ':~/.bin'
Then when I attempt to install phpactor with Mason I get the error given below (see Mason output field).
Expected behavior
No error
Affected packages
phpactor
Mason output
◍ phpactor
▼ Displaying full log
83 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Run composer recipes at any time to see the status of your Symfony recipes.
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!! Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#89
!! #message: """
!! Attempted to load class "WebProfilerBundle" from namespace "Symfony\Bundle\WebProfilerBundle".\n
!! Did you forget a "use" statement for another namespace?
!! """
!! #code: 0
!! #file: "./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php"
!! #line: 126
!! trace: {
!! ./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:126 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:331 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:708 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:122 { …}
!! ./vendor/symfony/framework-bundle/Console/Application.php:148 { …}
!! ./vendor/symfony/framework-bundle/Console/Application.php:69 { …}
!! ./vendor/symfony/console/Application.php:168 { …}
!! ./bin/console:43 {
!! › $application = new Application($kernel);
!! › $application->run($input);
!! ›
!! arguments: {
!! $input: Symfony\Component\Console\Input\ArgvInput {#2 …}
!! }
!! }
!! }
!! }
!! 2024-03-27T16:50:57+00:00 [critical] Uncaught Error: Class "Symfony\Bundle\WebProfilerBundle\WebProfilerBundle" not found
!!
Script @auto-scripts was called via post-install-cmd
spawn: bash failed with exit code 255 and signal 0.
### Neovim version (>= 0.7)
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1692716794
### Operating system/version
Linux cigale 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 GNU/Linux
### Healthcheck
```Text
mason: require("mason.health").check()
mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers:
mason.providers.registry-api
mason.providers.client
- OK neovim version >= 0.7.0
mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-03-28-absurd-thread` is installed.
mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.`
- OK wget: `GNU Wget 1.21 built on linux-gnu.`
- OK curl: `curl 7.74.0 (x86_64-pc-linux-gnu) libcurl/7.74.0 OpenSSL/1.1.1w zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3`
- OK gzip: `gzip 1.10`
- OK tar: `tar (GNU tar) 1.34`
- OK bash: `GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`
mason.nvim [Languages] ~
- WARNING Go: not available
- ADVICE:
- spawn: go failed with exit code - and signal -. go is not executable
- WARNING cargo: not available
- ADVICE:
- spawn: cargo failed with exit code - and signal -. cargo is not executable
- WARNING luarocks: not available
- ADVICE:
- spawn: luarocks failed with exit code - and signal -. luarocks is not executable
- OK Ruby: `ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux-gnu]`
- OK node: `v18.18.0`
- WARNING javac: not available
- ADVICE:
- spawn: javac failed with exit code - and signal -. javac is not executable
- OK java: `openjdk version "11.0.22" 2024-01-16`
- WARNING julia: not available
- ADVICE:
- spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.9.2`
- OK RubyGem: `3.2.5`
- OK PHP: `PHP 8.2.17 (cli) (built: Mar 16 2024 01:42:13) (NTS)`
- OK Composer: `Composer version 2.7.2 2024-03-11 17:12:18`
- OK npm: `9.8.1`
- OK pip: `pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9)`
- OK python venv: `Ok`
mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Thu 28 Mar 2024 09:54:04 CET.
Install and authenticate via gh-cli to increase rate limit.
### Screenshots
_No response_
The text was updated successfully, but these errors were encountered:
I installed php and composer on my host, and the mason's phpactor runs flawlessly. But I would like to avoid having two php and composer install (one on my host and one in my container). Is there any way I can use the composer installed in my container to install phpactor with mason ?
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
I have a Docker container with php and composer installed. I want to install phpactor (from the host). I created the following scripts:
composer
php
in
~/.bin
and added~/.bin
to the PATH withvim.env.PATH = vim.env.PATH .. ':~/.bin'
Then when I attempt to install phpactor with Mason I get the error given below (see Mason output field).
Expected behavior
No error
Affected packages
phpactor
Mason output
The text was updated successfully, but these errors were encountered: