2017-09-04 10 views
-1

부트 스트랩 4 베타을 각도 CLI 1.3.1에 설치하려고하면 일부 CSS 관련 항목을 시험하기위한 새로운 설치입니다.부트 스트랩 4 베타 설치 중 오류, 오류 코드 4048

관리자 권한으로 명령을 실행해도 벨로우 오류가 발생합니다.

[업데이트] 디버그 정보와 대체 스크린 샷 여기

node version is 8.4.0 
npm version is 5.4 
OS Architecture 64 bit 
OS Windows 10 Pro 

덕분 경우 알려 내 NPM 정보 NPM 디버그 정보를 원하시면 여기

0 info it worked if it ends with ok 
1 verbose cli [ 'F:\\Programming\\JS\\Nodejs8\\node.exe', 
1 verbose cli 'C:\\Users\\Viraj\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js', 
1 verbose cli 'install', 
1 verbose cli '[email protected]' ] 
2 info using [email protected] 
3 info using [email protected] 
4 verbose npm-session 75609d81f090ff57 
5 silly install loadCurrentTree 
6 silly install readLocalPackageData 
7 http fetch GET 304 https://registry.npmjs.org/bootstrap 1977ms (from cache) 
8 silly pacote version manifest for [email protected] fetched in 3321ms 
9 silly install loadIdealTree 
10 silly install cloneCurrentTreeToIdealTree 
11 silly install loadShrinkwrap 
12 silly install loadAllDepsIntoIdealTree 
13 silly resolveWithNewModule [email protected] checking installable status 
14 http fetch GET 304 https://registry.npmjs.org/fsevents 572ms (from cache) 
15 silly pacote range manifest for [email protected]^1.0.0 fetched in 650ms 
16 silly resolveWithNewModule [email protected] checking installable status 
17 silly pacote trying https://registry.npmjs.org/fsevents/-/fsevents-1.1.2.tgz by hash: sha512-Sn44E5wQW4bTHXvQmvSHwqbuiXtduD6Rrjm2ZtUEGbyrig+nUH3t/QD4M4/ZXViY556TBpRgZkHLDx3JxPwxiw== 
18 silly pacote https://registry.npmjs.org/fsevents/-/fsevents-1.1.2.tgz extracted to C:\Users\Viraj\AppData\Local\Temp\npm-9612-98a2724c\unpack-ed2bd6af by content address 17058ms 

-- deleted someline to fit in stackoverflow---- 
1015 silly decomposeActions unbuild fsevents 
1016 silly decomposeActions remove fsevents 
1017 silly decomposeActions fetch fse[email protected] 
1018 silly decomposeActions extract [email protected] 
1019 silly decomposeActions preinstall [email protected] 
1020 silly decomposeActions build [email protected] 
1021 silly decomposeActions install [email protected] 
1022 silly decomposeActions postinstall [email protected] 
1023 silly decomposeActions finalize [email protected] 
1024 silly decomposeActions refresh-package-json [email protected] 
1025 silly decomposeActions unbuild [email protected] 
1026 silly decomposeActions remove [email protected] 
1027 silly decomposeActions fetch [email protected] 
1028 silly decomposeActions extract [email protected] 
1029 silly decomposeActions preinstall [email protected] 
1030 silly decomposeActions build [email protected] 
1031 silly decomposeActions install [email protected] 
1032 silly decomposeActions postinstall [email protected] 
1033 silly decomposeActions finalize [email protected] 
1034 silly decomposeActions refresh-package-json [email protected] 
1035 silly install executeActions 
1036 silly doSerial global-install 894 
1037 verbose correctMkdir C:\Users\Viraj\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing 
1038 verbose lock using C:\Users\Viraj\AppData\Roaming\npm-cache\_locks\staging-8779bf6cfde4176a.lock for F:\Projects\CSS\FlexBox\flexBox\node_modules\.staging 
1039 silly doParallel extract 894 
1040 silly extract [email protected] 
1041 silly pacote trying [email protected]://registry.npmjs.org/fsevents/-/fsevents-1.1.2.tgz by hash: sha512-Sn44E5wQW4bTHXvQmvSHwqbuiXtduD6Rrjm2ZtUEGbyrig+nUH3t/QD4M4/ZXViY556TBpRgZkHLDx3JxPwxiw== 
1042 silly extract [email protected] 
1043 silly pacote trying [email protected]://registry.npmjs.org/bootstrap/-/bootstrap-4.0.0-beta.tgz by hash: sha512-I/r3fYtUZr+rUNkh8HI+twxZ56p6ehNn27eA1XSebLVQKAJ2xZHnEvZrSR+UR2A/bONcd9gHC3xatVhQlH6R6w== 
1044 silly pacote [email protected]://registry.npmjs.org/bootstrap/-/bootstrap-4.0.0-beta.tgz extracted to F:\Projects\CSS\FlexBox\flexBox\node_modules\.staging\bootstrap-6d9b8e3a by content address 5060ms 
1045 silly pacote [email protected]://registry.npmjs.org/fsevents/-/fsevents-1.1.2.tgz extracted to F:\Projects\CSS\FlexBox\flexBox\node_modules\.staging\fsevents-1488e69a by content address 16992ms 
1046 silly doReverseSerial unbuild 894 
1047 silly unbuild [email protected] 
1048 info lifecycle [email protected]~preuninstall: [email protected] 
1049 info lifecycle [email protected]~uninstall: [email protected] 
1050 verbose unbuild rmStuff [email protected] from F:\Projects\CSS\FlexBox\flexBox\node_modules 
1051 info lifecycle [email protected]~postuninstall: [email protected] 

-- deleted someline to fit in stackoverflow---- 

1568 silly doParallel preinstall 894 
1569 silly preinstall [email protected] 
1570 info lifecycle [email protected]~preinstall: [email protected] 
1571 silly doSerial build 894 
1572 silly build [email protected] 
1573 info linkStuff [email protected] 
1574 silly linkStuff [email protected] has F:\Projects\CSS\FlexBox\flexBox\node_modules as its parent node_modules 
1575 verbose linkBins [email protected] 
1576 verbose linkMans [email protected] 
1577 silly doSerial global-link 894 
1578 silly doParallel update-linked 894 
1579 silly doSerial install 894 
1580 silly install [email protected] 
1581 info lifecycle [email protected]~install: [email protected] 
1582 silly doSerial postinstall 894 
1583 silly postinstall [email protected] 
1584 info lifecycle [email protected]~postinstall: [email protected] 
1585 verbose unlock done using C:\Users\Viraj\AppData\Roaming\npm-cache\_locks\staging-8779bf6cfde4176a.lock for F:\Projects\CSS\FlexBox\flexBox\node_modules\.staging 
1586 verbose stack Error: EPERM: operation not permitted, unlink 'F:\Projects\CSS\FlexBox\flexBox\node_modules\fsevents\node_modules\abbrev\package.json' 
1587 verbose cwd F:\Projects\CSS\FlexBox\flexBox 
1588 verbose Windows_NT 10.0.15063 
1589 verbose argv "F:\\Programming\\JS\\Nodejs8\\node.exe" "C:\\Users\\Viraj\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "[email protected]" 
1590 verbose node v8.4.0 
1591 verbose npm v5.4.0 
1592 error path F:\Projects\CSS\FlexBox\flexBox\node_modules\fsevents\node_modules\abbrev\package.json 
1593 error code EPERM 
1594 error errno -4048 
1595 error syscall unlink 
1596 error Error: EPERM: operation not permitted, unlink 'F:\Projects\CSS\FlexBox\flexBox\node_modules\fsevents\node_modules\abbrev\package.json' 
1596 error { Error: EPERM: operation not permitted, unlink 'F:\Projects\CSS\FlexBox\flexBox\node_modules\fsevents\node_modules\abbrev\package.json' 
1596 error stack: 'Error: EPERM: operation not permitted, unlink \'F:\\Projects\\CSS\\FlexBox\\flexBox\\node_modules\\fsevents\\node_modules\\abbrev\\package.json\'', 
1596 error errno: -4048, 
1596 error code: 'EPERM', 
1596 error syscall: 'unlink', 
1596 error path: 'F:\\Projects\\CSS\\FlexBox\\flexBox\\node_modules\\fsevents\\node_modules\\abbrev\\package.json' } 
1597 error Please try running this command again as root/Administrator. 
1598 verbose exit [ -4048, true ] 

입니다 더 많은 정보가 필요합니다.

+0

n 연장 시간, 스크린 샷을 제공하는 대신 오류를 복사/붙여 넣기 할 수 있습니까? 우리에게 더 쉬운 방법입니다. 그리고 그것은 같은 오류를 가진 다른 사람들이 Google에서이 게시물을 찾는 데 도움이됩니다. – Salketer

+0

물론, 텍스트가 Google 이미지에서 색인 생성되기 쉽기 때문에 깨닫지 못했습니다. 알려 줘서 고마워. 다음 번에는 앞으로이 일들을 처리 할 것입니다. – Viraj

답변

1

우리는 오류 자체에서 읽을 수 있습니다

오른쪽 창에 메뉴 아이콘을 클릭

이 작업을 수행하려면 루트/관리자 권한으로이 명령을 다시 실행 해보세요 (왼쪽 일반적으로 아래) 명령 줄을 선택하는 대신 명령 줄 (Admin)을 선택하십시오. 정확한 문구가 다를 수 있음을 유의하십시오. 영어 버전을 사용하지 않습니다.

같은 문제가있는 몇 명의 다른 사람들이있는 것으로 보입니다. here가 도움을 줄 수있는 해결책이 있는지 확인하십시오.

  • 있는지 어떤 프로그램이 파일을 사용하지 않습니다 확인이 (숭고한 텍스트 잠금 듯) 지우기 NPM 캐시
  • 안 안티 바이러스
  • UNISTALL하고 다시 설치 :

    번영을위한 솔루션을 요약하면 nodeJS 및 NPM

  • 업데이트/다운 그레이드 NPM
+0

이미 관리 콘솔에서 실행중인 명령을 시도했지만 운이 없었습니다. – Viraj

+0

위의 모든 작업을 수행 한 후에도 아무 도움도 없었지만 5.3.0으로 다운 그레이드했을 때 중요한 것은 여기에서 다시 시작한 것입니다. 그래서 이상한 행동. 하지만 네, 어느 방향으로 가고 어느 정도 문제를 해결하는 데 도움을 준 답니다. (단단한 사실을 확인해 드릴 수 없습니다.이 단계는 다른 사람들에게도 도움이 될 것입니다.) 어쨌든 감사합니다. – Viraj

+0

VS 코드에서 파워 셸을 사용했기 때문에 문제가있는 것처럼 보입니다. 일반 콘솔로 변경 (Windows 기본 cmd). 이 작동합니다. – Viraj