Npm start error :

(function (exports, require, module, __filename, __dirname) { import app from “./server”;
^^^^^^

SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at loader (/home/user/Desktop/mflix/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/user/Desktop/mflix/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)

In case you unzip’ed the handout in one folder and copied the contents to a different folder, you would also need to copy over three hidden files to the new folder (Run ‘ls -la’ in the folder where you unzip’ed to see the hidden files.)

Without those dot files (and the .env), you will get this error. Good luck.