Closed joewiz closed 2 years ago
Which version of gulp-exist was installed with the 4.0.0
version declaration
I can reproduce the error. And it is a bug in gulp-exist (interestingly it is not in the current version node-exist). Affected version are 4.2.0 and 4.3.0 (latest).
I debugged it and the call to existdb fails with
EPROTO 4483317184:error:1408F10B:SSL routines:ssl3_get_record:wrong version number
This is because gulp-exist (since 4.2.0) uses an HTTPS connection by default. And this seems to fail.
Yeah the configuration in .existdb.json does use HTTP and this requires the secure
flag to be set to false
in the connection options in the gulpfile.js
Should we use the newly introduced function readOptionsfromEnv?
Expected behavior
Previously,
npm test
worked perfectly - building and installing the package and running tests - as follows:Actual behavior
Now, after running
npm update
,npm test
fails with anError in plugin "gulp-exist"
error:Reproduction steps
Make a fresh clone of templating and run
npm test
, or in an existing clone of templating, runnpm update
, thennpm test
.If you change package.json to require gulp-exist "4.0.0" instead of "^4.0.0", the error goes away.
This suggests some sort of regression in gulp-exist >4.0.0.
Please provide the following