You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The tool is not able to read the electron version on a nx-electron. I assume this is due to the fact that the package.json sits at the root of the nx-monorepo project instead of the nx-electron app.
Create an nx-electron app nx g nx-electron:app <electron-app-name> --frontendProject=<frontend-app-name>
Run the test electronegativity -i <electron-app-name>
The above action will show the message below, indicating that it cannot detect the version
`Starting scan...
Could not retrieve updated translations for the current locale
warn: Couldn't detect Electron version, assuming v0.1.0. Defaults have probably changed for your actual version, please check manually.`
Expected behavior
The expectation is for the correct version to be detected and the relevant tests are executed
**Stacktraces **
Platform (please complete the following information):
OS: Win 11
Electronegativity version: 1.10.3
Additional context
My project is running on "electron": "^27.3.11",. The test flags REMOTE_MODULE_JS_CHECK which requires enableRemoteModule: false which was deprecated in version 12.
The text was updated successfully, but these errors were encountered:
Describe the bug
The tool is not able to read the electron version on a nx-electron. I assume this is due to the fact that the package.json sits at the root of the nx-monorepo project instead of the nx-electron app.
To Reproduce
Steps to reproduce the behavior:
npx create-nx-workspace@18
(https://www.npmjs.com/package/nx-electron/v/18.0.1)npm install -D nx-electron
nx g nx-electron:app <electron-app-name> --frontendProject=<frontend-app-name>
electronegativity -i <electron-app-name>
The above action will show the message below, indicating that it cannot detect the version
`Starting scan...
Could not retrieve updated translations for the current locale
warn: Couldn't detect Electron version, assuming v0.1.0. Defaults have probably changed for your actual version, please check manually.`
Expected behavior
The expectation is for the correct version to be detected and the relevant tests are executed
**Stacktraces **
Platform (please complete the following information):
Additional context
My project is running on
"electron": "^27.3.11",
. The test flagsREMOTE_MODULE_JS_CHECK
which requiresenableRemoteModule: false
which was deprecated in version 12.The text was updated successfully, but these errors were encountered: