报错解决:
There is an issue with node-fibers
/Users/feishanshan/Documents/salesman/wsc-pc-v4/client/webpack/node_modules/fibers/bin/darwin-x64-83/fibers.node
is missing.
Try running this to fix the issue: /Users/feishanshan/.nvm/versions/node/v14.15.5/bin/node /Users/feishanshan/Documents/salesman/wsc-pc-v4/client/webpack/node_modules/fibers/build
Error: Cannot find module '/Users/feishanshan/Documents/salesman/wsc-pc-v4/client/webpack/node_modules/fibers/bin/darwin-x64-83/fibers'
Require stack:
最终按照这个执行:
xcode-select --print-path
# in my case /Library/Developer/CommandLineTools
# the next line deletes the path returned by the command above
sudo rm -rf $(xcode-select --print-path)
# install them (again) if you don't get a default installation prompt
xcode-select --install
// 但是上面的命令可能没有反应,直接appStore搜索
Command Line Tools for Xcode 下载安装即可 [appStore](https://developer.apple.com/download/all/?q=command%20line%20tools)