[WARN][TaskAgile] npm does not support Node.js v12.18.3

2020. 12. 16. 18:06개발 관련/ERROR

 

> npm run test:unit && npm run test:e2e

npm WARN npm npm does not support Node.js v12.18.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/

 

ERROR 내용

  1.  
$ node -v
v12.18.3

 

 


해결 방법

  • C:\Users\id\AppData\Roaming에 있는 npm, npm-cache 폴더 삭제
  • node를 설치하지 않은 상태로 아래 명령어 입력
$ npm install -g npm@latest
C:\Users\ttogl\AppData\Roaming\npm\npx -> C:\Users\ttogl\AppData\Roaming\npm\node_modules\npm\bin\npx-cli.js
C:\Users\ttogl\AppData\Roaming\npm\npm -> C:\Users\ttogl\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
+ npm@6.14.9
added 6 packages from 4 contributors, removed 5 packages and updated 7 packages in 11.57s

 

 

// version 확인
$ npm -v
6.14.9

$ node -v
v12.18.3

참고 사이트  : stackoverflow.com/questions/63196042/npm-does-not-support-node-js-v12-18-3