Read about OpenEMR's Response to the COVID-19 Pandemic at

OpenEMR Master install issues on Linux Ubuntu 18.04

I have installed the master copy on a Windows server 2008 no issues. However, I have been unable to install it on Ubuntu. 2020-07-15T11_38_26_973Z-debug.log (618.9 KB)

I have attached the log file. The thing that sticks out is the mkdir command fails inside the node_modes directory after it is created by the install which seems not right. How can the install create the directory then be unable to write it?

ubuntu@ip-172-31-27-136:/var/www/html/hb6$ sudo npm i --unsafe-perm

node-sass@4.14.1 install /var/www/html/hb6/node_modules/node-sass
node scripts/install.js

Downloading binary from
Download complete
Binary saved to /var/www/html/hb6/node_modules/node-sass/vendor/linux-x64-57/binding.node
Caching binary to /home/ubuntu/.npm/node-sass/4.14.1/linux-x64-57_binding.node

node-sass@4.14.1 postinstall /var/www/html/hb6/node_modules/node-sass
node scripts/build.js

Binary found at /var/www/html/hb6/node_modules/node-sass/vendor/linux-x64-57/binding.node
Testing binary
Binary is fine

openemr-interface@0.2.0 postinstall /var/www/html/hb6
napa && gulp -i

sh: 1: napa: Permission denied
npm ERR! errno 126
npm ERR! openemr-interface@0.2.0 postinstall: napa && gulp -i
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the openemr-interface@0.2.0 postinstall 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/ubuntu/.npm/_logs/2020-07-15T12_38_28_765Z-debug.log

2020-07-15T12_04_26_621Z-debug.log (2.2 KB)

what npm and node versions are you using:

npm --version
node --version

npm 6.14.5
node v12.18.2

are what is installed on the ubuntu server.

very odd. the log file you posted contains the following:

 info using node@v8.10.0

If that is case, then need to ensure using node v12 instead of v8


Here is the screenshot.