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

Pin to Node v20 to fix CI #344

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Pin to Node v20 to fix CI #344

merged 1 commit into from
Jan 31, 2025

Conversation

ChrisBAshton
Copy link
Contributor

See #343 where pinning to v20 and v21 were contrasted.

From v21 onwards, we get:

npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm ERR! code 1
npm ERR! path /home/runner/work/miller-columns-element/miller-columns-element/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c node scripts/build.js
npm ERR! Binary found at /home/runner/work/miller-columns-element/miller-columns-element/node_modules/node-sass/vendor/linux-x64-120/binding.node
npm ERR! Testing binary
npm ERR! Binary has a problem: Error: /home/runner/work/miller-columns-element/miller-columns-element/node_modules/node-sass/vendor/linux-x64-120/binding.node: file too short
npm ERR!     at Module._extensions..node (node:internal/modules/cjs/loader:1464:18)
npm ERR!     at Module.load (node:internal/modules/cjs/loader:1205:32)
npm ERR!     at Module._load (node:internal/modules/cjs/loader:1021:12)
npm ERR!     at Module.require (node:internal/modules/cjs/loader:1230:19)
npm ERR!     at require (node:internal/modules/helpers:179:18)
npm ERR!     at module.exports (/home/runner/work/miller-columns-element/miller-columns-element/node_modules/node-sass/lib/binding.js:19:10)
npm ERR!     at Object.<anonymous> (/home/runner/work/miller-columns-element/miller-columns-element/node_modules/node-sass/lib/index.js:13:35)
npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1368:14)
npm ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)
npm ERR!     at Module.load (node:internal/modules/cjs/loader:1205:32) {
npm ERR!   code: 'ERR_DLOPEN_FAILED'
npm ERR! }
npm ERR! Building the binary locally

See #343 where pinning to v20 and v21 were contrasted.

From v21 onwards, we get:

```
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm ERR! code 1
npm ERR! path /home/runner/work/miller-columns-element/miller-columns-element/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c node scripts/build.js
npm ERR! Binary found at /home/runner/work/miller-columns-element/miller-columns-element/node_modules/node-sass/vendor/linux-x64-120/binding.node
npm ERR! Testing binary
npm ERR! Binary has a problem: Error: /home/runner/work/miller-columns-element/miller-columns-element/node_modules/node-sass/vendor/linux-x64-120/binding.node: file too short
npm ERR!     at Module._extensions..node (node:internal/modules/cjs/loader:1464:18)
npm ERR!     at Module.load (node:internal/modules/cjs/loader:1205:32)
npm ERR!     at Module._load (node:internal/modules/cjs/loader:1021:12)
npm ERR!     at Module.require (node:internal/modules/cjs/loader:1230:19)
npm ERR!     at require (node:internal/modules/helpers:179:18)
npm ERR!     at module.exports (/home/runner/work/miller-columns-element/miller-columns-element/node_modules/node-sass/lib/binding.js:19:10)
npm ERR!     at Object.<anonymous> (/home/runner/work/miller-columns-element/miller-columns-element/node_modules/node-sass/lib/index.js:13:35)
npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1368:14)
npm ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)
npm ERR!     at Module.load (node:internal/modules/cjs/loader:1205:32) {
npm ERR!   code: 'ERR_DLOPEN_FAILED'
npm ERR! }
npm ERR! Building the binary locally
```
@ChrisBAshton ChrisBAshton merged commit 8471e25 into main Jan 31, 2025
11 checks passed
@ChrisBAshton ChrisBAshton deleted the pin-node branch January 31, 2025 14:46
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