Open KhalilMohammad opened 7 years ago
I think it is a typo
Listting 2.6
"scripts": {
"compile": "babel src –presets react –out-dir static",
"watch": "babel src –presets react –out-dir static –watch",
"test": "echo \"Error: no test specified\" && exit 1"
}
Listing 2.7
"scripts": {
"compile": "babel src --presets react,es2015 --out-dir static",
"watch": "babel src --presets react,es2015 --out-dir static --watch",
"test": "echo \"Error: no test specified\" && exit 1"
}
I am on windows 10 64 bit machine. I am not running any vm.
These scripts work
"compile": "babel src --presets react --out-dir static",
"watch": "babel src --presets react --out-dir static -–watch"
These do not work"compile": "babel src -presets react -out-dir static",
"watch": "babel src -presets react -out-dir static –watch"
I am running npm commands at package.json directory.
npm run compile
npm run watch