[web] composer 에러 해결 방법 .Deprecation warning: Your package name is invalid,
Code/Web 2019. 9. 22. 08:24* composer error -1
- 에러 메시지
Deprecation warning: Your package name is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.
- 해결 방법
{
"name": "pkg-sub",
변경
- "루트 패키지이름/하위 패키지 이름" 형식으로 변경
"name": "pkg/pkg-sub",
//===============
* composer error -2
- 에러 메시지
As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' may remediate them.
- 해결 방법
- unzip 설치
sudo apt-get install zip unzip php7.3-zip
sudo systemctl restart nginx.service php7.3-fpm.service
'Code > Web' 카테고리의 다른 글
[Javascript](Web 기술) serviceWorker , PushManager , Web Worker (0) | 2019.11.13 |
---|---|
[nginx] localhost 에서 SSL(https) 설정하기 (windows 10) (0) | 2019.11.08 |
AWS EBS 볼륨 용량 줄이기 (0) | 2019.09.19 |
AWS EC2 스냅샷으로 복구하기 (0) | 2019.09.18 |
리눅스 자동 시작 프로그램 제어 방법 (0) | 2019.09.18 |