-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: CODEGEN-2.9.1
-
Component/s: Nuxeo CLI
-
Environment:Windows 10
node v12.18.1
nuxeocli 1.9.1
-
Tags:
With no settings.xml
? Do you want to update your Maven settings.xml file accordingly? Yes (node:6208) UnhandledPromiseRejectionWarning: Error: Unable to read Maven Coordonates for PROJECT at constructor._getProjectMavenCoordonates (C:\Users\michael\AppData\Roaming\npm\node_modules\nuxeo-cli\node_modules\generator-nuxeo\generators\studio\studio.js:35:13) at C:\Users\michael\AppData\Roaming\npm\node_modules\nuxeo-cli\node_modules\generator-nuxeo\generators\studio\link-delegate.js:83:21 at module.exports (C:\Users\michael\AppData\Roaming\npm\node_modules\nuxeo-cli\node_modules\generator-nuxeo\utils\spinner.js:11:12) at constructor.writing (C:\Users\michael\AppData\Roaming\npm\node_modules\nuxeo-cli\node_modules\generator-nuxeo\generators\studio\link-delegate.js:82:19) at delegate (C:\Users\michael\AppData\Roaming\npm\node_modules\nuxeo-cli\node_modules\generator-nuxeo\lib\delegated-generator.js:92:31) at constructor.writing (C:\Users\michael\AppData\Roaming\npm\node_modules\nuxeo-cli\node_modules\generator-nuxeo\lib\delegated-generator.js:73:7) at Object.<anonymous> (C:\Users\michael\AppData\Roaming\npm\node_modules\nuxeo-cli\node_modules\yeoman-generator\lib\index.js:417:23) at C:\Users\michael\AppData\Roaming\npm\node_modules\nuxeo-cli\node_modules\run-async\index.js:49:25 at new Promise (<anonymous>) at C:\Users\michael\AppData\Roaming\npm\node_modules\nuxeo-cli\node_modules\run-async\index.js:26:19 (node:6208) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) (node:6208) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
With empty settings.xml
info WARNING: info We modified 'C:\Users\user\.m2\settings.xml' file and wrote your password in plain text inside. info You must read https://maven.apache.org/guides/mini/guide-encryption.html and use an encrypted one.
yet the file settings.xml file is still empty
- is duplicated by
-
NXCLI-37 Can you improve the nuxeo-cli studio command to handle the missing settings.xml
- Resolved
- Is referenced in