2020年4月2日木曜日

WSL2 - npm install : pm ERR! code: 'EACCES',

Tring to install npm package by

$ npm install

There were many errors with the code
npm ERR!      code: 'EACCES'

the solution is

$npm config set unsafe-perm=true

Tring the npm install again and it succeeded.


0 件のコメント:

コメントを投稿