After running npm start error
sh: cross-env: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! ant-design-pro@2.2.0 start: cross-env APP_TYPE=site umi dev
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the ant-design-pro@2.2.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
After running npm start error
sh: cross-env: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! ant-design-pro@2.2.0 start:
cross-env APP_TYPE=site umi devnpm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the ant-design-pro@2.2.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.