Skip to content

Commit

Permalink
fix: node-gyp requires 3.12+ python version
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Feb 11, 2025
1 parent 2add678 commit 8b9bf80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .evergreen/init-node-and-npm-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ export PATH="$npm_global_prefix/bin:$NODE_ARTIFACTS_PATH/nodejs/bin:$PATH"
hash -r

export NODE_OPTIONS="--trace-deprecation --trace-warnings"

# https://github.com/nodejs/node-gyp#configuring-python-dependency
source ./find-python3.sh
export NODE_GYP_FORCE_PYTHON=$(find_python3)

0 comments on commit 8b9bf80

Please sign in to comment.