-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot see version in the included image #285
Comments
worked in v3.3.0
|
worked in v3.3.2
does not work in v3.4.0
|
The difference between 3.3.2 and 3.4.0 - we started building 3.4.0 from |
In both 3.3.2 and 3.4.0 BUT only in browser image that is the base of 3.4.0 we have explicit command |
Working
Not working
|
I can see the file the same
|
BUT from Node I get different "exists" value for this file
Checking the path
|
Hmm, folder is the same
|
Trying to load file same way in Node our CLI const getBinaryPkgVersionAsync = (binaryDir) => {
const pathToPackageJson = getBinaryPkgPath(binaryDir)
debug('Reading binary package.json from:', pathToPackageJson)
return fs.pathExistsAsync(pathToPackageJson)
.then((exists) => {
if (!exists) {
return null
}
return fs.readJsonAsync(pathToPackageJson)
.get('version')
})
}
Uggh, I wish we had more debug messages |
OMFG We DO have the file access, we DO GET the versions, but then we use ...
and the logger has:
So new Docker images have
|
That's why some other commands are "silent"
|
Pull request for this cypress-io/cypress#2706 and issue cypress-io/cypress#2705 |
This will be fixed in Cypress when cypress-io/cypress#2705 is released (probably v4.3.1). For now the workaround is to unset the NPM log level when running Docker image by passing an environment variable flag Example
|
--help
works fine, but--version
does nothingThe text was updated successfully, but these errors were encountered: