You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One more thing. One typo on this sentence on the same page:
"Go ahead and run the new command using npm watch."
The right command should be "npm run watch".
Took long time for me to figure out this problems :)
The text was updated successfully, but these errors were encountered:
Thanks for a great book.
Listing 2.6 did not work for me:
"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"
},
If I changed it to:
"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"
},
Then only I could run compile and watch.
One more thing. One typo on this sentence on the same page:
"Go ahead and run the new command using npm watch."
The right command should be "npm run watch".
Took long time for me to figure out this problems :)
The text was updated successfully, but these errors were encountered: