mac brew node 다운그레이드

.esc·2022년 1월 17일
1

에러 발생

error err_package_path_not_exported package subpath './lib/tokenize' is not defined by exports ...

원인

node 17

node 16 버전 다운그레이드

brew search node
brew unlink node
brew install node@16
brew link node@16

또 에러

Error: Could not symlink bin/npm

overwrite, reinstall

brew link --overwrite node@16
brew link node@16
brew unlink node@16 
brew reinstall node@16

참조

https://bcp0109.tistory.com/347
https://mesonia.tistory.com/151
https://aerimforest.tistory.com/96

profile
front-end

0개의 댓글