I have a project that runs tests on Node.js 12, it has been erroring on Travis since the start of this week.
The error is
npm ERR! Cannot read property 'toString' of null when running
I have been unable to reproduce this locally and, without access to the npm debug log, cannot debug this further.
An example of an errored build: https://travis-ci.org/Ionaru/steve/jobs/548565831
My travis config:
jobs: include: - stage: Test language: node_js node_js: '12' - stage: Deploy language: bash script: skip deploy: - provider: script script: bash deploy.sh Steve_Deploy $API_TOKEN on: branch: master repo: Ionaru/steve env: global: - secure: <SNIP> - secure: <SNIP>
Why are these builds failing and how can I prevent it in the future?