> [email protected] clean-scripts /home/bill/study/github/ozbillwang/restaurant-order-system
> if [ -f 'dist/main.js' ]; then rm dist/main.js; fi
child_process.js:422
throw new ERR_INVALID_ARG_TYPE('options.cwd', 'string', options.cwd);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "options.cwd" property must be of type string. Received type function
at normalizeSpawnArguments (child_process.js:422:11)
at spawn (child_process.js:532:38)
at /home/bill/study/github/ozbillwang/restaurant-order-system/node_modules/parallelshell/index.js:104:17
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/bill/study/github/ozbillwang/restaurant-order-system/node_modules/parallelshell/index.js:100:6)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `npm run build && parallelshell 'npm run watch' 'npm run dev-server-watch'`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/bill/.npm/_logs/2019-04-12T05_23_01_550Z-debug.log