2017-09-08 1 views
0

fs-ext를 설치하는 동안 다음 오류가 발생합니다. Node-v8.1.3, npm-v5.4.0이 설치된 Win10-64bit 시스템이 있습니다. 성공적으로 설치하는 방법에 대한 제안이 있습니까?npm을 사용하여 fs-ext를 설치할 수 없습니다. 오류 C3861 : 'fcntl': 식별자를 찾을 수 없습니다.

PS C:\users\desktop\auth> npm install fs-ext 

    > [email protected] install C:\users\desktop\auth\node_modules\fs-ext 
    > node-gyp configure build 


    C:\users\desktop\auth\node_modules\fs-ext>if not defined npm_config_node_gyp (node "C:\Users\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure build) else (                            node "" configure build) 
    Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. 
     fs-ext.cc 
     win_delay_load_hook.cc 
    ..\fs-ext.cc(195): error C3861: 'fcntl': identifier not found [C:\users\desktop\auth\node_modules\fs-ext\bui 
    ld\fs-ext.vcxproj] 
    ..\fs-ext.cc(374): error C3861: 'fcntl': identifier not found [C:\users\desktop\auth\node_modules\fs-ext\bui 
    ld\fs-ext.vcxproj] 
    gyp ERR! build error 
    gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1 

답변

0

현재 NPM 버전 인 0.6.0은 6 개월 전에 출시되었습니다. 2 개월 전 Github에서 일련의 커밋이 Windows 호환성을 수정했지만 NPM에는 적용되지 않은 것 같습니다. https://github.com/baudehlo/node-fs-ext

node_modules/fs-ext로 이동하여 github과 동기화하여 문제가 해결되는지 확인하거나 메인테이너에게 연락하여 0.7.0 또는 0.6.1에 최근 수정 사항을 첨부하도록 요청하십시오. .

관련 문제