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

338
Views
ReferenceError: el proceso no está definido después de actualizar a Next.js 12 desde 11.xx

Obtener este problema después de actualizar a la última versión 12 desde 11.xx

Error de tiempo de ejecución no controlado: ReferenceError: el proceso no está definido

Aquí está mi package.json :

 { "name": "tnhc-fe", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint" }, "dependencies": { "@hookform/resolvers": "^2.8.2", "axios": "^0.23.0", "jwt-decode": "^3.1.2", "local-storage": "^2.0.0", "moment": "^2.29.1", "next": "12", "next-i18next": "^8.9.0", "react": "^17.0.2", "react-dom": "^17.0.2", "react-hook-form": "^7.17.4", "yup": "^0.32.11", "zustand": "^3.5.13" }, "devDependencies": { "@types/jest": "^27.0.3", "@types/node": "^16.11.0", "@types/react": "17.0.30", "autoprefixer": "^10.3.7", "eslint": "8.0.1", "eslint-config-next": "11.1.2", "jest": "^27.4.3", "postcss": "^8.3.9", "tailwindcss": "^2.2.17", "typescript": "4.4.4" } }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Si está en el lado del servidor, debe declarar sus variables en next.config.js:

 // next.config.js module.exports = { ... env: { // declare here all your variables BASE_URL: process.env.BASE_URL, } }

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!