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

Node 16 #73

Merged
merged 3 commits into from
Apr 24, 2024
Merged

Node 16 #73

merged 3 commits into from
Apr 24, 2024

Conversation

cwillisf
Copy link

Description

Move to Node.js v16 and fix up package-lock.json (and package.json to a lesser extent).

Note that --use-legacy-peer-deps is no longer necessary due to these changes -- hooray!

I re-added the step to install native dependencies to fix the build after the Node.js upgrade. Depending on the combination of Node.js version and npm dependency versions, sometimes these native dependencies are necessary and sometimes they're not. Installing them never hurts, other than a bit of extra time, so I think it's safer to leave them in. They're necessary when node-gyp fails to download a precompiled version of a library, probably canvas, which leads to a message like this: npm ERR! node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v93 ABI, glibc) (falling back to source compile with node-gyp)

@cwillisf cwillisf merged commit 91f2cea into develop Apr 24, 2024
1 check passed
@cwillisf cwillisf deleted the node-16 branch April 24, 2024 21:49
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