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

205
Views
Updated baseUri for images to ===> undefined

I am trying to run: node utils/updateBaseUri.js to update my const baseUri to ipfs://my CID, but it keeps giving me an 'undefined' error:

Updated baseUri for images to ===> undefined

Could this be a gateway issue? This content contains 16,000 .png files. Thank you.

Here is the code:

const description =
   "Resolute Climate Impact NFTs";
const baseUri = "ipfs://Qmcj57KPpeRzJBv67izjXiRUKG9T9m2V3tR7kpRhxVHA7a";   

const layersOrder = [
    { name: 'cuarto', number: 15},
    { name: 'panel', number: 12 },
    { name: 'logo', number: 19 },
    { name: 'secondary', number: 9 },
    { name: 'tertiary', number: 10 },
    { name: 'text', number: 19 },
    
];
  
const format = {
    width: 512,
    height: 512
};

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

Try this

node utils/update_info.js
about 4 years ago · Juan Pablo Isaza Report

0

I ran this: node utils/update_info.js and it worked :)

about 4 years ago · Juan Pablo Isaza Report

0

Const can't be modified.Make it as

let baseUri = "ipfs://Qmcj57KPpeRzJBv67izjXiRUKG9T9m2V3tR7kpRhxVHA7a"; 
or
var baseUri = "ipfs://Qmcj57KPpeRzJBv67izjXiRUKG9T9m2V3tR7kpRhxVHA7a";   
about 4 years ago · Juan Pablo Isaza Report
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!