You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Software Collections.
I need install with legacy-peer-deps.
Would it be possible to add in assemble this lines of code ?
if [ "$NODE_ENV" != "production" ]; then
echo "---> Building your Node application from source"
if [ "$NPM_MODE" == "legacy-peer-deps" ]; then
echo "---> Installing all dependencies (including peer dependencies) with legacy-peer-deps"
npm install --legacy-peer-deps
else
echo "---> Installing all dependencies"
npm install
fi
The text was updated successfully, but these errors were encountered:
@lcanavesio As a temporary solution, you can pass an env variable to the npm. So you can do something like s2i -e npm_config_legacy_peer_deps=true build . my-build-image my-node-app
More info about npm : https://docs.npmjs.com/cli/v9/using-npm/config
Hi Software Collections.
I need install with legacy-peer-deps.
Would it be possible to add in assemble this lines of code ?
if [ "$NODE_ENV" != "production" ]; then
The text was updated successfully, but these errors were encountered: