npm cross-env not found code example
Example 1: sh: cross-env: command not found
[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh
nvm i 12
Example 2: cross env not found
Reactjs
I met the same exact issue, and finally fixed it by upgrade antd from 3.26.2 to 3.26.11.
You may check your package.json too.