qdd-framework 2.9.2-rc.1 → 2.9.3-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/qdd.js +7 -0
- package/package.json +1 -1
package/bin/qdd.js
CHANGED
|
@@ -11,6 +11,13 @@ const result = spawnSync(binaryPath, process.argv.slice(2), {
|
|
|
11
11
|
stdio: 'inherit'
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
+
// Sin binario, lo más probable es que npm esté reinstalando qdd: 75 es «todavía no» para los pedidos del panel (FND-135).
|
|
15
|
+
if (result.error && result.error.code === 'ENOENT') {
|
|
16
|
+
console.error('[QDD] qdd se está actualizando: inténtalo de nuevo en un momento.');
|
|
17
|
+
console.error('[QDD] Si sigue así, reinstala el paquete con: npm install -g qdd-framework');
|
|
18
|
+
process.exit(75);
|
|
19
|
+
}
|
|
20
|
+
|
|
14
21
|
if (result.error) {
|
|
15
22
|
console.error(`[QDD] No se pudo ejecutar el binario nativo ${binaryPath}: ${result.error.message}`);
|
|
16
23
|
console.error('[QDD] Reinstala el paquete con: npm install -g qdd-framework');
|