I'm trying to use yarn to install a new NestJs project .
I tried to install using : npm install --global yarn
and i also tried to install windows installer : https://classic.yarnpkg.com/latest.msi
I tried to create a new project :
nest new task_management
I'm always getting this error :
I tried :
npm cache clean --force
npm cache verify
yarn global add @nestjs/cli
I tried to reinstall node, but i still get the same error !
It was a yarn cache problem
this resolve the problem for me :
yarn cache clean
nest new task_management