command line - Creating new file with Node.js and Express -


i'm trying learn how use node.js , packages. i'm in command prompt (i'm on windows), changed directory project folder. installed express package:

npm install express --save 

the npm installed express package. now, while i'm still in directory, i'm trying create new file:

touch index.js 

but file isn't created , i'm getting following message:

'touch' not recognized internal or external command, operable program or batch file. 

why that? doing wrong?

touch no windows command.

in this answer, suggest equivalent:

echo $null >> filename 

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -