think-installer's People
Forkers
hu19891110 pinnaangel scolib chenyongze mamafe cyzonetech happyclassedu hausir bestlake opensmarty miles-cm barton0403 kingzcheung shirne bain2018 lucifer20211202think-installer's Issues
composer 2 导致 thinkphp5.1 无法更新,能否修改composer-plugin-api 的依赖
Line 5 in 1be326e
"composer-plugin-api": "^1.0 || ^2.0"
composer2 安装5.1 unzip报错
- Installing topthink/framework (v5.1.39): Extracting archive
Failed to extract topthink/framework: (1) unzip -qq '/www/easy-admin/server/vendor/composer/tmp-1f12151f355e00554d
6b1744801b5511' -d '/www/easy-admin/server/vendor/composer/804f309b'
unzip: can't open /www/easy-admin/server/vendor/composer/tmp-1f12151f355e00554d6b1744801b5511[.zip]
This most likely is due to a custom installer plugin not handling the returned Promise from the downloader
See https://github.com/composer/installers/commit/5006d0c28730ade233a8f42ec31ac68fb1c5c9bb for an example fix
composer2 安装更新扩展生成不了配置文件
composer2 安装更新扩展生成不了配置文件
像think-installer这种composer自定义插件是怎么调试的
public function install(InstalledRepositoryInterface $repo, PackageInterface $package)
{
//比如这边我要输出dump($repo)
return parent::install($repo, $package)
->then(function () use ($package) {
$this->removeTestDir($package);
});
}
5.1.40 全新安装的时候会报错, 如下
`
- Installing topthink/framework (v5.1.40): Reading /root/.composer/cache/files/topthink/framework/a29c7f647362d43a9c0a7cbf9051ef97da437c4a.zip from cache
Loading from cache
Extracting archivePHP Fatal error: Uncaught Error: Call to undefined function React\Promise\resolve() in /code/ucenter_backend/vendor/topthink/think-installer/src/LibraryInstaller.php:27
Stack trace:
#0 /code/ucenter_backend/vendor/topthink/think-installer/src/LibraryInstaller.php(14): think\composer\LibraryInstaller->makePromise(NULL)
#1 /code/ucenter_backend/vendor/topthink/think-installer/src/ThinkFramework.php(37): think\composer\LibraryInstaller->install(Object(Composer\Repository\InstalledFilesystemRepository), Object(Composer\Package\CompletePackage))
#2 phar:///usr/bin/composer/src/Composer/Installer/InstallationManager.php(173): think\composer\ThinkFramework->install(Object(Composer\Repository\InstalledFilesystemRepository), Object(Composer\Package\CompletePackage))
#3 phar:///usr/bin/composer/src/Composer/Installer/InstallationManager.php(160): Composer\Installer\InstallationManager->install(Object(Composer\Repository\InstalledFilesystemRepository), Object(Composer\DependencyResolver\Operation\InstallOperation))
#4 phar:///usr/bin/co in /code/ucenter_backend/vendor/topthink/think-installer/src/LibraryInstaller.php on line 27
`
还是没有修复composer 2.0
核心目录没有了 thinkphp
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.