2024年6月20日 星期四

Fix Git CRLF issue

git config --global core.autocrlf input


 https://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf



https://www.huanlintalk.com/2011/05/git-coreautocrlf.html

2024年5月27日 星期一

Use nvm-windows but not able to switch to correct node version

 Install NVM-Windows

remove the nodejs windows version

nvm install 18

nvm ls (see 18)

nvm use 18 (say used)

node -v

'node' is not recognized as an internal or external command,

operable program or batch file.

solve: Go to C:\Programs\nodejs

remove the folder C:\Programs\nodejs

then check again will success