遇到这种问题可能是出现依赖包无法被下载,查看具体原因查出相关的解决办法
Problem 1
- Installation request for teamtnt/tntsearch v2.1.0 -> satisfiable by teamtn t/tntsearch[v2.1.0].
- teamtnt/tntsearch v2.1.0 requires ext-sqlite3 * -> the requested PHP exten sion sqlite3 is missing from your system.
Problem 2
- teamtnt/tntsearch v2.1.0 requires ext-sqlite3 * -> the requested PHP exten sion sqlite3 is missing from your system.
- teamtnt/laravel-scout-tntsearch-driver v7.2.0 requires teamtnt/tntsearch 2 .* -> satisfiable by teamtnt/tntsearch[v2.1.0].
- Installation request for teamtnt/laravel-scout-tntsearch-driver v7.2.0 -> satisfiable by teamtnt/laravel-scout-tntsearch-driver[v7.2.0].
To enable extensions, verify that they are enabled in your .ini files:
- C:\SoftWare\wamp\bin\php\php7.3.1\php.ini
You can also run `php --ini` inside terminal to see which files are used by PH P in CLI mode.
我这里就是php.ini没有将扩展sqlite3打开导致的
具体将前面的分号去掉,重启php应用即可,具体问题一定要具体分析
;extension=sqlite3