๋ชฉ๋ก์‚ญ์ œ (1)

Focus On Develop ๐ŸคŸ๐ŸคŸ

[node.js] Mac์— ์„ค์น˜๋œ node.js ์ œ๊ฑฐํ•˜๊ธฐ

์˜ค๋ž˜์ „์— nodeJs๋ฅผ ์„ค์น˜ํ•ด์„œ ์ด๊ฒƒ ์ €๊ฒƒ ํ•ด๋ณธ ๊ธฐ์–ต์ด ์žˆ๋Š”๋ฐ, ๋‹ค์‹œ nodeJs๋ฅผ ์‚ฌ์šฉํ•ด์„œ ๋ญ”๊ฐ€๋ฅผ ์‹œ๋„ํ•˜๋ ค๊ณ  ํ–ˆ๋”๋‹ˆ.... .์•„๋ฟ”์‹ธ.. node ์„ค์น˜๋ถ€ํ„ฐ npm ์‚ฌ์šฉ๊นŒ์ง€ ์ค„์ค„์ด ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•ด์„œ, ํ•˜๋‚˜ํ•˜๋‚˜ ํ•ด๊ฒฐํ•˜๋‹ค๊ฐ€.... ๊ฒฐ๊ตญ์€ nodeJs๋ฅผ ์‹น ์ง€์šฐ๊ณ  ๋‹ค์‹œ ์„ค์น˜ํ•˜๋Š”๊ฒŒ ๊น”๋”ํ•˜๋‹ค๋Š”๊ฑธ ์•Œ๊ฒŒ ๋˜์—ˆ๊ณ , ์ด๋ ‡๊ฒŒ ์ •๋ฆฌํ•ด๋‘ก๋‹ˆ๋‹ค ๐Ÿ˜Ž Stack Overflow์—๋„ ๊ด€๋ จ ์—๋Ÿฌ์— ๋Œ€ํ•œ ์งˆ๋ฌธ์ด ๋งŽ์€ ๊ฑธ ๋ณด๋‹ˆ, ๋งŽ์€ ๋ถ„๋“ค์ด ๊ฐ™๊ตฌ๋‚˜. ์‹ถ์—ˆ์–ด์š” ใ…‹ใ…‹ ๊ทธ๋Ÿด๋• ์ด๋ ‡๊ฒŒ ์‹น ์ง€์šฐ๊ณ  ์ƒˆ๋กœ ์„ค์น˜ํ•ด๋ณด์„ธ์š” ๐Ÿ‘๐Ÿ‘ ํ„ฐ๋ฏธ๋„์„ ์ผœ๊ณ  ์•„๋ž˜ ๋ช…๋ น์–ด๋“ค์„ ์‹คํ–‰ํ•ด์ฃผ์„ธ์š”. sudo npm uninstall npm -g (์ด๊ฑด ์—๋Ÿฌ๋‚  ์ˆ˜๋„ ์žˆ๋Š”๋ฐ ์—๋Ÿฌ๋‚˜๋ฉด ํŒจ์Šคํ•˜์„ธ์š”! ์–ด์ฐจํ”ผ ์ง€์›Œ์ง‘๋‹ˆ๋‹ค.) sudo rm -rf /usr/local/lib/node /usr/loca..

๊ณตํ†ต/BackEnd 2021. 3. 4. 21:24