touch : The term 'touch' is not recognized as the name of a cmdlet code example
Example 1: 'touch' is not recognized as an internal or external command,
npm install touch-cli -g
Example 2: react js 'touch' is not recognized as an internal or external command,
Fixed after running this command:
npm install touch-cli -g
After that I can run this:
>touch index.html
>touch App.js
>touch main.js
>touch webpack.config.js
>touch .babelrc
/*
I Hope it will Help you.
Namaste
Stay Home Stay Safe
*/
Example 3: touch command not recognized in windows
type nul > your_file.txt
Example 4: touch command not recognized in windows
echo.> your_file.txt