報錯解決:
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:
最終按照這個執(zhí)行:
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)