我正在尝试使用以下命令在我的 symfony 应用程序中安装 Encore:
composer require symfony/webpack-encore-bundle
Run Code Online (Sandbox Code Playgroud)
我收到这个错误:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-iconv * is missing from your system. Install or enable PHP's iconv extension.
Installation failed, reverting ./composer.json to its original content.
Run Code Online (Sandbox Code Playgroud)
我用谷歌搜索了一下,发现 iconv 扩展是默认启用的,而且我从来没有遇到过问题,所以我不知道该怎么办。我正在使用 arch linux 和 xampp。