Pana / nrm

NPM registry manager, fast switch between different registries: npm, cnpm, nj, taobao
MIT License
2.77k stars 242 forks source link

Node.js v18.15.0 require语法不支持 #155

Closed stpzsj closed 1 year ago

stpzsj commented 1 year ago

在Node.js v18.15.0中,安装nrm成功,执行命令提示require语法不支持,如何解决? image

285878535 commented 1 year ago

use this command: npm install -g nrm open@8.4.2 --save

iscomandev commented 1 year ago

use this command: npm install -g nrm open@8.4.2 --save

You are my hero 😂

TecFancy commented 1 year ago

use this command: npm install -g nrm open@8.4.2 --save

U are my hero 2 😂

ErKeLost commented 1 year ago

U are my hero 3 😂

wanghaida commented 1 year ago

U are my hero 4 😂

withzhaoyu commented 1 year ago

U are my hero 5 😂

ZhangChengLin commented 1 year ago

U are my hero 6 😂

licorace commented 1 year ago

U are my hero 7 😂

xiaogu-123 commented 1 year ago

U are my hero 8 😂

gyhyfj commented 1 year ago

Thank you, It works! It's really strange that if I run pnpm i -g nrm and THEN run pnpm i -g open@8.4.2, it doesn't work.

laizp commented 1 year ago

U are my hero 9 😂

fyzhu commented 1 year ago

npm i @fyzhu/nrm -g

i5ting commented 1 year ago

最新的版本已fix