Cannot read properties of null (reading ‘pickAlgorithm‘)

“Cannot read properties of null (reading ‘pickAlgorithm‘)”

查看配置文件需要node14 版本

brew search node
brew install node@14

写入环境变量

ode@14 is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.

If you need to have node@14 first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/node@14/bin:$PATH"' >> ~/.zshrc

For compilers to find node@14 you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/node@14/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/node@14/include"
❯ node -v
v14.19.3
❯ npm -v
6.14.17
~ ❯

你可能感兴趣的:(Cannot read properties of null (reading ‘pickAlgorithm‘))