Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

259
Views
"Cannot read properties of undefined (reading 'attributes')" error in React (with Strapi)

I'm unable to render items from my Strapi collection. Following is the code I wrote to get "Photo" of my uploaded products in Strapi.

 <Image
          style={{ height: 150, resizeMode: "cover" }}
          source={{
            uri: "http://localhost:1337" + item.Photo.data[0].attributes.url,  //Home.js:180
          }}
        />

[1] [1]: https://i.stack.imgur.com/hYSn6.png

I'm also getting an "Uncaught ReferenceError: process is not defined" at (VM110:2), and "The above error occurred in the component:" at (index.js:1)

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!