I have the following setup in my system
%asdf shim-versions create-react-app
nodejs 12.16.3
% asdf current nodejs
nodejs 14.17.6 /Users/user/.tool-versions
But when I run npm to create react-app as follows get the following output
% npm init react-app react-complete-guide
No preset version installed for command create-react-app
Please install a version by running one of the following:
asdf install nodejs 14.17.6
or add one of the following versions in your config file at /Users/user/.tool-versions
nodejs 12.16.3
I have tried asdf reshim nodejs
Is there something wrong in my setup?
It's npx create-react-app not npm create-react-app.