Repository navigation
Closed
Description
For the last few commits the Travis CI build failed while running npm install. For example here
[INFO] --- frontend-maven-plugin:1.10.0:npm (npm install) @ graphhopper-web-bundle ---
[INFO] Running 'npm install' in /home/travis/build/graphhopper/graphhopper/web-bundle
[INFO] npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
[INFO] npm WARN deprecated [email protected]: The package has been renamed to `open`
[INFO] npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
[INFO] npm WARN deprecated [email protected]: This module has moved: please install @mapbox/vector-tile instead
[INFO] npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
[INFO] npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
[INFO] npm WARN deprecated [email protected]: This module has moved: please install @mapbox/point-geometry instead
[INFO] npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
[INFO] npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
[INFO] npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
[INFO] npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
[INFO] npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
The build has been terminated
Apparently the npm install command hangs for some reason so the build times out after ten minutes.
Metadata
Metadata
Assignees
Labels
No labels
Activity
easbar commentedon May 17, 2022
One thing I noticed is that in older, successful builds the next line was
So maybe the build hangs because it cannot create the package-lock.json file?
karussell commentedon May 19, 2022
The build hangs locally for me too (not sure what I changed maybe due to my tests to change node and npm version). But the hanging is unrelated to travis it seems.
and:
didn't help
easbar commentedon May 20, 2022
That did not help. Upgrading the version of the maven-frontend-plugin did not help either: 57d3e14
Same here
easbar commentedon May 20, 2022
Maybe this was some kind of authentication issue when downloading npm packages. Using
npm install --verbosethe build hung here:karussell commentedon May 20, 2022
Did npm change something on their side? (e.g. locally it works without having updated anything)
easbar commentedon May 20, 2022
I don't know
Which version worked? I thought the install hung locally for you also? At least for me it did.
karussell commentedon May 20, 2022
Yesterday there was a problem for me too, yes. But not today. Weird stuff.
easbar commentedon May 20, 2022
But did you delete node_modules, node and package-lock.json? Using this commit: 90729f3 and running
mvn package -DskipTeststhe build still hangs on my laptop.[-]Travis build fails once again[/-][+]NPM hangs[/+]karussell commentedon May 20, 2022
Ah, yes, thanks! So it was indeed something related to the npm or node version.