nrm ls后报错 throw new ERR_INVALID_ARG_TYPE(name, 'string', value);

 

 解决方法:

C:\Users\xuefen.lv\AppData\Roaming\npm\node_modules\nrm\cli.js的第17行

注释并修改为如下

const NRMRC = path.join(process.env[(process.platform == 'win32''USERPROFILE' 'HOME']'.nrmrc');

nrm ls后报错 throw new ERR_INVALID_ARG_TYPE(name, 'string', value);

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
  • 2021-09-21
  • 2021-05-14
  • 2021-11-20
  • 2022-12-23
相关资源
相似解决方案