Comments (6)
same problem started to happen
from breadit.
That's not good, might be something UploadThing or EditorJS have changed under the hood
from breadit.
I have just finished the whole video and not getting the error you should reevaluate your code.
from breadit.
Either downgrade upload-thing
to version 4.x
npm install [email protected]
Or use the latest documentation as things changed in version 5.0.0
from breadit.
Yes I am getting this same issue. Will look into the documentation or downgrade as you have suggested
from breadit.
Looking at the error message I opened up an internal file and found that uploadthing is just S3 under the hood. Going to get back to it tomorrow and add either S3 or supabase as the image storage function and toss uploadthing.
Image Tool: uploading failed because of TypeError: Cannot read properties of undefined (reading 'map')
at uploadFilesInternal (index.js:168:27)
at eval (index.js:234:9)
at Object.uploadByFile (Editor.tsx:72:50)
at eval `(bundle.js:10:35524)
// Get presigned URL for S3 upload
const s3ConnectionRes = await reportEventToUT("upload", {
input: "input"in opts ? opts.input : null,
files: opts.files.map((f)=>({
name: f.name,
size: f.size,
type: f.type
}))
});
from breadit.
Related Issues (20)
- The Favicon is not working
- clsx was not included in the dependencies
- License HOT 1
- Shadcn needs components.json file HOT 3
- error in getData props of serverVoteComponent HOT 1
- Help with infinite scroll crash on final post HOT 1
- Missing shadcn/ui config file HOT 2
- parallel and intercepting route not working HOT 1
- feat: show posts in user feed
- Solve Image Uploade Error HOT 1
- Comment route is not working HOT 1
- List marks visible for mini post create form HOT 1
- Images not being displayed of post at the subreddit page HOT 1
- Error: Hydration failed because the initial UI does not match what was rendered on the server. Warning: Expected server HTML to contain a matching <p> in <svg>.
- Error: Hydration failed because the initial UI does not match what was rendered on the server. Warning: Expected server HTML to contain a matching <p> in <svg>. Error: There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering. HOT 1
- Posting in subreddit not working
- PostFeed.tsx component throws back Unhandled Runtime Error Error HOT 1
- Empty search bar unexpected behavior
- Request cannot be constructed from a URL that includes credentials:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from breadit.