Skip to content

🎥 Make videos programmatically with React

add troubleshooting page for recorder

Jonny Burgerea1fde709b59
diff --git a/packages/docs/docs/recorder/troubleshooting/cannot-read-properties-of-undefined.mdx b/packages/docs/docs/recorder/troubleshooting/cannot-read-properties-of-undefined.mdx
new file mode 100644
index 0000000000..31453d7ce6
--- /dev/null
+++ b/packages/docs/docs/recorder/troubleshooting/cannot-read-properties-of-undefined.mdx
@@ -0,0 +1,22 @@
+---
+title: Cannot read properties of undefined (reading 'decode')
+crumb: Recorder
+---
+
+If you get the following error while starting the Studio:
+
+```
+Cannot read properties of undefined (reading 'decode')
+ at new URLStateMachine
+ at module.exports.basic
+```
+
+You are experiencing an issue with Bun after upgrading Remotion.
+You can resolve the issue by running
+
+```
+rm -rf node_modules
+bun i
+```
+
+We are hoping to fix this issue soon.
diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.js
index e5def72a34..2b02d06ef3 100644
--- a/packages/docs/sidebars.js
+++ b/packages/docs/sidebars.js
@@ -673,6 +673,7 @@ module.exports = {
"player/best-practices",
],
},
+
{
type: "category",
label: "Lambda",
@@ -831,12 +832,16 @@ module.exports = {
"miscellaneous/snippets/align-duration",
],
},
-
{
type: "link",
href: "/docs/api",
label: "API Reference",
},
+ {
+ type: "link",
+ href: "/docs/recorder",
+ label: "Recorder",
+ },
{
type: "category",
label: "Terminology",
@@ -984,6 +989,7 @@ module.exports = {
label: "Troubleshooting",
items: [
"recorder/troubleshooting/failed-to-execute-get-video-metadata",
+ "recorder/troubleshooting/cannot-read-properties-of-undefined",
],
},
"recorder/roadmap",
diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.ts
index 93eefd4177..e7787d9827 100644
--- a/packages/docs/src/data/articles.ts
+++ b/packages/docs/src/data/articles.ts
@@ -2444,6 +2444,15 @@ export const articles = [
compId: "articles-docs-recorder-support",
crumb: "Recorder",
},
+ {
+ id: "recorder/troubleshooting/cannot-read-properties-of-undefined",
+ title: "Cannot read properties of undefined (reading 'decode')",
+ relativePath:
+ "docs/recorder/troubleshooting/cannot-read-properties-of-undefined.mdx",
+ compId:
+ "articles-docs-recorder-troubleshooting-cannot-read-properties-of-undefined",
+ crumb: "Recorder",
+ },
{
id: "recorder/troubleshooting/failed-to-execute-get-video-metadata",
title: "Failed to execute getVideoMetadata()",
diff --git a/packages/docs/static/generated/articles-docs-recorder-troubleshooting-cannot-read-properties-of-undefined.png b/packages/docs/static/generated/articles-docs-recorder-troubleshooting-cannot-read-properties-of-undefined.png
new file mode 100644
index 0000000000..79a3998624
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-recorder-troubleshooting-cannot-read-properties-of-undefined.png differ