2017-05-13 1 views
0

ncu (npm 확인 업데이트)를 사용하여 npm 패키지를 업데이트했습니다. 모든 패키지가 업데이트 된 후 빌드 프로세스가 오류를 던지고 있습니다.업데이트 후 Gulp가있는 PostCSS에서 오류가 발생 함

내 꿀꺽 꿀꺽하는 일을 끝내고 "Precss"라는 PostCSS 플러그인을 제거한 후에 모든 일이 이루어집니다. 나 또한이 플러그인을 이전 버전으로 되돌리려 고 시도했지만 작동합니다.

불행히도 Precss는 내 CSS에서 SASS와 유사한 기능을 사용하기 위해 필자가 필요로하는 주요 플러그인입니다. 이 플러그인은 Precss 플러그인에 따라 postcss-calc라는 다른 플러그인이 최신 버전이기 때문에이 플러그인이 필요합니다. 다음은

가 발생되는 오류입니다 :

Node#before is deprecated. Use Node#raws.before 
(node:8447) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot set property 'parent' of undefined 
(node:8447) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot set property 'parent' of undefined 
(node:8447) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot set property 'parent' of undefined 
(node:8447) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot set property 'parent' of undefined 
(node:8447) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot set property 'parent' of undefined 
(node:8447) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot set property 'parent' of undefined 
(node:8447) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): TypeError: Cannot set property 'parent' of undefined 
(node:8447) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): TypeError: Cannot set property 'parent' of undefined 
(node:8447) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): TypeError: Cannot set property 'parent' of undefined 
(node:8447) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 10): TypeError: Cannot set property 'parent' of undefined 

답변

0

난 그냥 대신 사용하는 '최신'버전의 내 package.json에서 수정 의존성에 의해 해결 똑같은 문제를 가지고 ...

내 모듈 버전이 있는데 도움이되기를 바랍니다.

$ npm list --depth=0 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
├── [email protected] 
└── [email protected] 
관련 문제