@remotion/cli 4.0.193 → 4.0.199
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/dist/print-error.js +11 -3
- package/package.json +13 -13
package/dist/print-error.js
CHANGED
|
@@ -21,18 +21,26 @@ const printError = async (err, logLevel) => {
|
|
|
21
21
|
}
|
|
22
22
|
try {
|
|
23
23
|
const symbolicated = await renderer_1.RenderInternals.symbolicateError(err);
|
|
24
|
-
if (symbolicated.frame
|
|
25
|
-
output.update(chalk_1.chalk.red(
|
|
24
|
+
if (symbolicated.frame !== null && symbolicated.chunk !== null) {
|
|
25
|
+
output.update(chalk_1.chalk.red(`An error occurred while rendering frame ${err.frame} on chunk ${err.chunk}:`), true);
|
|
26
26
|
}
|
|
27
|
-
else {
|
|
27
|
+
else if (symbolicated.frame !== null) {
|
|
28
28
|
output.update(chalk_1.chalk.red(`An error occurred while rendering frame ${err.frame}:`), true);
|
|
29
29
|
}
|
|
30
|
+
else if (symbolicated.chunk !== null) {
|
|
31
|
+
output.update(chalk_1.chalk.red(`An error occurred on chunk ${err.chunk}:`), true);
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
output.update(chalk_1.chalk.red('An error occurred:'), true);
|
|
35
|
+
}
|
|
30
36
|
(0, code_frame_1.printCodeFrameAndStack)(symbolicated, logLevel);
|
|
31
37
|
}
|
|
32
38
|
catch (e) {
|
|
33
39
|
output.update(chalk_1.chalk.red(''), true);
|
|
34
40
|
log_1.Log.error({ indent: false, logLevel });
|
|
35
41
|
log_1.Log.error({ indent: false, logLevel }, err.stack || err);
|
|
42
|
+
log_1.Log.verbose({ indent: false, logLevel }, 'Error symbolicating error');
|
|
43
|
+
log_1.Log.verbose({ indent: false, logLevel }, e);
|
|
36
44
|
}
|
|
37
45
|
return;
|
|
38
46
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/cli"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/cli",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.199",
|
|
7
7
|
"description": "Control Remotion features using the `npx remotion` command",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"dotenv": "9.0.2",
|
|
33
33
|
"minimist": "1.2.6",
|
|
34
34
|
"prompts": "2.4.2",
|
|
35
|
-
"@remotion/bundler": "4.0.
|
|
36
|
-
"@remotion/media-utils": "4.0.
|
|
37
|
-
"@remotion/
|
|
38
|
-
"@remotion/studio-shared": "4.0.
|
|
39
|
-
"remotion": "4.0.
|
|
40
|
-
"@remotion/
|
|
41
|
-
"@remotion/
|
|
42
|
-
"@remotion/
|
|
35
|
+
"@remotion/bundler": "4.0.199",
|
|
36
|
+
"@remotion/media-utils": "4.0.199",
|
|
37
|
+
"@remotion/studio-server": "4.0.199",
|
|
38
|
+
"@remotion/studio-shared": "4.0.199",
|
|
39
|
+
"remotion": "4.0.199",
|
|
40
|
+
"@remotion/studio": "4.0.199",
|
|
41
|
+
"@remotion/renderer": "4.0.199",
|
|
42
|
+
"@remotion/player": "4.0.199"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.8.0",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"react": "18.3.1",
|
|
53
53
|
"react-dom": "18.3.1",
|
|
54
54
|
"zod": "3.22.3",
|
|
55
|
-
"@remotion/tailwind": "4.0.
|
|
56
|
-
"@remotion/
|
|
57
|
-
"@remotion/
|
|
58
|
-
"@remotion/
|
|
55
|
+
"@remotion/tailwind": "4.0.199",
|
|
56
|
+
"@remotion/zod-types": "4.0.199",
|
|
57
|
+
"@remotion/enable-scss": "4.0.199",
|
|
58
|
+
"@remotion/skia": "4.0.199"
|
|
59
59
|
},
|
|
60
60
|
"keywords": [
|
|
61
61
|
"remotion",
|