Hey @joedeen4,
From reading the build logs, the node: protocol prefix for built-in modules (like node:fs/promises instead of just fs/promises) was introduced in Node.js v14.18.0 and v16.0.0, but it became more widely used and sometimes required by newer npm packages. One of your updated dependencies (gulp, sass, or html-minifier, or one of their dependencies) is now using this syntax.
The problem is that while Node 20 supports this perfectly, Travis CI’s build environment might have issues with how modules are resolved.
Try this .travis.yml and make sure dist: jammy is at the top:
dist: jammy
language: node_js
node_js:
- "20"
cache:
npm: true
before_install:
- node --version
- npm --version
install:
- npm ci
script:
- npm run build
deploy:
provider: script
script: bash deploy.sh
skip_cleanup: true
on:
branch: main
I hope this helps.
Michael “Montana” Mendy.
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Continuous Integration, Deployment, and Build Failures for a Restaurant Menu Website Using Travis CI | 0 | 7 | 09-02-2026 |
| 2 | Travis CI Pipeline Reliability Issues While Building, Testing, and Deploying My Real-Time Morse Code Website | 0 | 7 | 20-06-2026 |
| 3 | Build dist is bionic even though jammy is specified in config | 0 | 5 | 21-10-2025 |
| 4 | .NET 10 support | 0 | 5 | 29-06-2026 |
| 5 | Complex Multi-Job Matrix with Conditional Deploys Fails on Secret Merging – Need Advanced Debugging Help | 0 | 5 | 03-06-2025 |
| 6 | Travis Displays intermittent "We couldn't display the repository" | 0 | 5 | 19-01-2026 |
| 7 | How to get travis-ci support? | -8 | 6 | 02-06-2026 |
| 8 | Failing after success stage | 5 | 7 | 14-10-2025 |
| 9 | Multi-Service Docker Compose Build in Travis CI with Cross-Container Caching and Service Health Checks | 0 | 7 | 03-06-2025 |
| 10 | TRAVIS_COMMIT and TRAVIS_PULL_REQUEST_SHA commit SHA's getting masked in web log output | 0 | 6 | 04-12-2025 |