I know how to do nodemon server.js but what if I want to do nodemon ./src I want restart node on any changes in the directory of src. When I do above and it say cannot find module babelprac\src I am also doing ...
Discy Latest Questions
I have an application that is a node backend and a react frontend. I get the following error when i try to build/run my node application. Node: v10.13.0 Error: dist/index.js:314 regeneratorRuntime.mark(function _callee(productId) { ...
I am following along with this webpack4/react tutorial: https://www.youtube.com/watch?v=deyxI-6C2u4 I have followed it exactly up until the part where he runs npm start. The difference is, his app runs, and mine gets the error: Cannot find module ‘@babel/core’ The full error: ERROR in ...
I just upgraded to Babel 7 (from 6) by running these commands: npm remove babel-cli npm install --save-dev @babel/cli @babel/core @babel/preset-env Here is my .babelrc file: { "presets": ["env"] } Then I ran: babel js/src --out-dir js/dist And it results in: TypeError: Cannot read property 'bindings' ...