Skip to content
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

Fix for node.js v20 [ui] #367

Closed
wants to merge 9 commits into from
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ dependencies=go curl
mocks=main/handlers/blockchain/mock/adapter_mock.go storage/mock/interfaces.go
bindata=main/handlers/assets/bindata.go test/assets/bindata.go
golocalimport=github.com/ProxeusApp/proxeus-core
uiextraflags=NODE_OPTIONS=--openssl-legacy-provider
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems to me that it needs to be a MacOS, Node 17 only fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

circleci still running it with 16 node.js

maybe we should update our circleci config to be able to use this flag

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's upgrade CircleCI to 20.

Copy link
Contributor

Choose a reason for hiding this comment

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

As discussed today, we are probably not quite ready for Node 20.x. I've updated this in #397


.PHONY: all
all: ui server
Expand All @@ -93,11 +94,11 @@ update:

.PHONY: ui
ui:
$(MAKE) -C ui
$(uiextraflags) $(MAKE) -C ui

.PHONY: ui-dev
ui-dev:
$(MAKE) -C ui serve-main-hosted
$(uiextraflags) $(MAKE) -C ui serve-main-hosted

.PHONY: generate
generate: $(bindata) $(mocks)
Expand Down