I installed npm through nvm isntead of node as explained here and as recommended by the docs.
When I run
npm run cross-env NODE_ENV=development node_mo