fsevents 패키지 모듈은 OSX용 이므로 windows에서 경고 메시지가 출력됨


* 경고 메시지
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})


* 경고 메시지 없애는 방법
package.json 파일에 다음을 추가

    "optionalDependencies": {
        "fsevents": "*"
    }

- 설치 명령 실행
npm install --no-optional

Posted by 코덴스

댓글을 달아 주세요