and now a new error.
Bottom line is that the install seems to have put node in home but is looking for it in frappe-bench
yarn run v1.13.0
$ FRAPPE_ENV=production node rollup/build.js
Production mode
fs.js:646
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open ‘/home/tony/frappe-bench/apps/frappe/node_modules/moment/min/moment-with-locales.min.js’
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at input_files.map.file_name (/home/tony/frappe-bench/apps/frappe/rollup/build.js:90:39)
at Array.map ()
at files_to_concat.forEach.output_file (/home/tony/frappe-bench/apps/frappe/rollup/build.js:84:36)
at Array.forEach ()
at concatenate_files (/home/tony/frappe-bench/apps/frappe/rollup/build.js:81:18)
at Object. (/home/tony/frappe-bench/apps/frappe/rollup/build.js:24:1)
at Module._compile (module.js:653:30)
at Object.Module._extensions…js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.