Skip to content

Commit

Permalink
set node env var to fix installation2
Browse files Browse the repository at this point in the history
  • Loading branch information
cs01 committed Oct 18, 2023
1 parent b211953 commit 9ab8ff5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build_executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
# buildname: windows
- os: macos-latest
buildname: mac
env:
NODE_OPTIONS: "--openssl-legacy-provider"
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "0.1.0",
"license": "GPL-3.0",
"scripts": {
"start": "cross-env NODE_ENV=development webpack --mode development --watch --config webpack.config.js",
"start": "cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=development webpack --mode development --watch --config webpack.config.js",
"test": "jest",
"build": "cross-env NODE_ENV=production webpack --mode production --config webpack.config.js",
"build": "cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production webpack --mode production --config webpack.config.js",
"format": "prettier ./gdbgui/src/js/** --write",
"lint": "prettier ./gdbgui/src/js/** --check"
},
Expand Down Expand Up @@ -44,4 +44,4 @@
"webpack": "4.19.0",
"webpack-cli": "^2.0.14"
}
}
}

0 comments on commit 9ab8ff5

Please sign in to comment.