Running npm install and then node app.js should start the application.
Actual behavior
> if $BUILD_ASSETS; then npm run build-assets; fi
then was unexpected at this time.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mozaik-dashboard@ postinstall: `if $BUILD_ASSETS; then npm run build-assets; fi`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mozaik-dashboard@ postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
According to the docs, you can manually run the npm run build script after installing if it fails. However, this throws an error that the script is not found.
Running npm run build-assets works and fixes the problem. The docs should be updated to reflect this.
Expected behavior
Running
npm install
and thennode app.js
should start the application.Actual behavior
According to the docs, you can manually run the
npm run build
script after installing if it fails. However, this throws an error that the script is not found.Running
npm run build-assets
works and fixes the problem. The docs should be updated to reflect this.Steps to reproduce
Run
npm install
Runnode app.js