Getting error while uploading on CircleCI. Can you help?
Tried installing package dotenv-expand and dotenv
#!/bin/bash -eo pipefail
npm run setup
my-app@0.1.0 setup /home/circleci/mern-starter
set PORT=3002 && node scripts/start.js
module.js:549
Error: Cannot find module ‘dotenv-expand’
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at dotenvFiles.forEach.dotenvFile (/home/circleci/mern-starter/config/env.js:35:5)
at Array.forEach ()
at Object. (/home/circleci/mern-starter/config/env.js:33:13)
at Module._compile (module.js:652:30)
at Object.Module._extensions…js (module.js:663:10)
at Module.load (module.js:565:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-app@0.1.0 setup: set PORT=3002 && node scripts/start.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the my-app@0.1.0 setup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
ERR! A complete log of this run can be found in:
ERR! /home/circleci/.npm/_logs/2018-07-24T16_37_35_861Z-debug.log
Exited with code 1