Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Travis CI build failing after dependency updates for my website project

Дата публикации: 06-11-2025 17:33:09

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.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Continuous Integration, Deployment, and Build Failures for a Restaurant Menu Website Using Travis CI0709-02-2026
2Travis CI Pipeline Reliability Issues While Building, Testing, and Deploying My Real-Time Morse Code Website0720-06-2026
3Build dist is bionic even though jammy is specified in config0521-10-2025
4.NET 10 support0529-06-2026
5Complex Multi-Job Matrix with Conditional Deploys Fails on Secret Merging – Need Advanced Debugging Help0503-06-2025
6Travis Displays intermittent "We couldn't display the repository"0519-01-2026
7How to get travis-ci support?-8602-06-2026
8Failing after success stage5714-10-2025
9Multi-Service Docker Compose Build in Travis CI with Cross-Container Caching and Service Health Checks0703-06-2025
10TRAVIS_COMMIT and TRAVIS_PULL_REQUEST_SHA commit SHA's getting masked in web log output0604-12-2025

Классификация: Пресс-релизы. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 7. Источник: travis-ci.community.