Skip to content

feat: make build and start commands to be able to use node 17 and higher #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ruirochawork
Copy link

  • added --openssl-legacy-provider to start and build commands to be able to use node 17 and higher
  • tried fixing it by upgrading react-scripts and its peer dependencies but there were a few breaking changes that required ejecting the app or adding some sort of a wrapper, so added this flag for now (should be look at as a temporary solution)

@ruirochawork ruirochawork changed the title Feature/Make build and start commands to be able to use node 17 and higher feat: make build and start commands to be able to use node 17 and higher Jan 18, 2023
@@ -277,10 +277,10 @@ jobs:
name: Build Docker local image
command: |
echo "Building Docker image: local"
docker build -t $DOCKER_ORG/$CIRCLE_PROJECT_REPONAME:local .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ruirochawork , I am not sure why you want too replace the variable names with hardcoded values. But we have a standard for circleCI config file across all the mojaloop repositories

Copy link
Author

@ruirochawork ruirochawork Jan 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @vijayg10 , I was just testing out on why the docker build is failing. Seems like it might be an issue with populating some kind of environment variable, hence why I changed the state of the PR to draft until I figure out what it is.

https://app.circleci.com/pipelines/github/mojaloop/ml-testing-toolkit-ui/673/workflows/51dd6c16-011d-4249-b696-dbe35a2c1957/jobs/2784

#!/bin/bash -eo pipefail
echo "Building Docker image: local"
docker build -t $DOCKER_ORG/$CIRCLE_PROJECT_REPONAME:local .

Building Docker image: local
invalid argument "/ml-testing-toolkit-ui:local" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.

Exited with code exit status 125
CircleCI received exit code 125

Do you happen to know what the problem might be? Would appreciate if you or someone else could help me with this issue since in the other PR it seems to have solved the problem by directly placing the value.

https://app.circleci.com/pipelines/github/mojaloop/ml-testing-toolkit-ui/679

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants