[ Nodejs ] Cannot destructure property 'name' of 'node' as it is null 에러
IT&컴퓨터/에러와의 전쟁

[ Nodejs ] Cannot destructure property 'name' of 'node' as it is null 에러

반응형

I. 문제

npm ERR! code ERESOLVE

npm ERR! Cannot destructure property 'name' of 'node' as it is null.

 

npm install 명령어를 입력하니 위와같은 에러가 나오게 됩니다.

 

구글에 검색해보니

 

https://stackoverflow.com/questions/65724281/cannot-destructure-property-name-of-node-as-it-is-null

 

Cannot destructure property 'name' of 'node' as it is null

when I want to install dependencies of the aurelia project, got this error: npm ERR! code 1 npm ERR! git dep preparation failed npm ERR! command /Users/ehsanghaffarii/.nvm/versions/node/v15.5.1/bin...

stackoverflow.com

 

II. 해결

npm i -g npm@6

 

입력으로 해결하실 수 있습니다.

 

반응형