실행하려고 할 때 기본 스크립트 프로젝트를 업데이트하려고합니다.
tns update next
나는 오류를 얻었다
Could not update the project! Reason is: rm: could not remove file (code EBUSY): C:/work/MyProject/zero/angular/platforms/android/build-tools/runSbg.log
내는 tns info
것입니다
√ Getting NativeScript components versions information...
‼ Update available for component nativescript. Your current version is 6.4.0 and the latest available version is 6.8.0.
‼ Update available for component tns-core-modules. Your current version is 6.4.2 and the latest available version is 6.5.13.
‼ Update available for component tns-android. Your current version is 6.4.1 and the latest available version is 6.5.3.
× Component tns-ios is not installed.
Angular와 함께 Nativescript를 사용하고 있으며 코드 공유 프로젝트입니다.
이것은 파일을 사용하는 실행중인 프로세스 때문일 가능성이 큽니다 . 이 문제를 해결하려면 Nativescript 또는이 경우 android를 실행하는 모든 프로세스를 종료했는지 확인하십시오. 확실하지 않은 경우 PC를 다시 시작할 수 있습니다.
이후에 새로 업데이트 / 설치하려면; 프로젝트 루트 폴더로 이동 한 다음 Nativescript 생성 폴더 ( hooks , node_modules 및 플랫폼) 를 삭제합니다 .
이 작업이 완료되면 이제 다음과 같은 방법으로 프로젝트를 업데이트 할 수있는 깨끗한 상태를 갖게됩니다.
tns update next
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다