require not working with npm start command
I’m taking my firsts steps with js and node today, so I’ve created the following script: var fs = require(‘fs’); function callBack(){} fs.writeFile(‘./abc.txt’, "My text", callBack); Very simple script… So when I run it in my terminal with node app.js it works fine, but when I try to run it with npm start it produces… Read More require not working with npm start command