laravel cross-env: Permission denied

Created at: 2019-09-15 03:41:01 Updated at: 2020-04-04 06:50:22

in Linux

sh: 1: cross-env: Permission denied

npm ERR! code ELIFECYCLE


sudo chown -R $USER /usr/local

chmod -R a+x node_modules