I tried opening a ticket with support, but they would not help as we are currently using the free version of Appflow until we get it up and running.
When attempting to build a staging version of our application, I am getting an error after the dependencies have been installed. Since this is not a production version of our application, NPM_CONFIG_PRODUCTION
has been set to false
.
unexpected token at 'npm WARN config production Use
–omit=dev instead.
I tried updating NPM_CONFIG_PRODUCTION
in the Appflow environment variables to true
to see if it would work, which it did. But unfortunately, because husky
is our devDependencies
it ended up failing.
I have tried adding a appflow.config.json
file and setting "dependencyInstallCommand": "npm install --omit=dev --quite"
but that doesn’t seem to have an effect.