2016-05-31 4 views
0

JointsWP 및 Foundationpress에서 npm 설치 오류가 발생하는 것 같습니다.Foundationpress npm은 더 이상 사용되지 않는 오류를 설치합니다.

NPM 실행이 오류 명령 줄 결과에서 foundationpress에 설치 :

npm WARN deprecated [email protected]: Please use gulp-clean-css 
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node release >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in tree. 
npm WARN optional dep failed, continueing [email protected] 
npm WARN deprecated [email protected]: [email protected]<3.0.0 is no longer maintained. Upgrade to [email protected]^4.0.0. 

어떤 아이디어?

+0

당신이 관리자 모드에서 명령 줄을 실행하고 있습니까? Foundationpress 5에서 6으로 옮겼을 때 명령 줄을 관리자로 시작해야했거나 오류가 많았습니다. – Pixelsmith

답변

0

먼저 오류이 아니며, 이는 경고이며 무시할 수 있습니다.

These are warnings, not errors. No need to worry as long as FoundationPress is working and you're able to run the npm run build and npm run watch commands.

편집 : 그냥 나에게, FoundationPress says so의 창조자를 신뢰하지 마십시오 하나가 그 문제에 대답하고 어디 오, 난 당신을 깨달았다. 그래서 당신은 아마 이미 지금이 알고 :)

둘째, 그것은 우아한-FS에 관해서 :

당신은 그렇게 할 경우, npm ls graceful-fs와 우아한-FS의 사용되지 않는 버전을 사용하는 패키지를 확인할 수 있습니다

사용되지 않는 버전을 사용하고있는 것 같아 보입니다. 꿀꺽 삼키는 팀은 aware of the issue :

We are aware of the graceful-fs deprecation warning upon install of gulp 3.x.

This is due to:

  1. our graceful-fs devDependency
  2. the vinyl-fs dependency

Both of which we are unable to upgrade due to API breaking changes.

There is nothing wrong with the dependency, especially since it is only used in development. We will be updating or removing it in gulp 4 and the message will go away.

입니다. 걱정하지 마세요.

(당신이 npm install --no-optional 대신 npm install으로 사용하는 경우 또한, 적은 경고를 볼 수 있습니다.)