Describe your problem here
I keep getting the following error message when attempting to run npm run build:
'rtl:setup' errored after 2.7 ms [12:39:25] TypeError: fs.copyFile is not a function at Gulp.<anonymous> (/storage/openemr_master/gulpfile.js:178:8) at module.exports (/storage/openemr_master/node_modules/orchestrator/lib/runTask.js:34:7) at Gulp.Orchestrator._runTask (/storage/openemr_master/node_modules/orchestrator/index.js:273:3) at Gulp.Orchestrator._runStep (/storage/openemr_master/node_modules/orchestrator/index.js:214:10) at Gulp.Orchestrator.start (/storage/openemr_master/node_modules/orchestrator/index.js:134:8) at runNextSet (/storage/openemr_master/node_modules/run-sequence/index.js:124:15) at Gulp.onTaskEnd (/storage/openemr_master/node_modules/run-sequence/index.js:102:4) at emitOne (events.js:101:20) at Gulp.emit (events.js:188:7) at Gulp.Orchestrator._emitTaskDone (/storage/openemr_master/node_modules/orchestrator/index.js:264:8)
I’m using OpenEMR version git master
I’m using: Firefox 69.0
I’m using: CentOS 7.0
Did you check the logs? Was there anything pertinent in them? Paste them here (surround with three backticks (```) for readability
The error message occurred while installing. As I read it, the fs object has not been instantiated correctly and so does not have the requested function. If there are additional logs that could be helpful, I’m happy to provide information from them.