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

152
Views
config.kit.adapter debe ser un objeto con un método de "adaptación"

Quiero usar @sveltejs/adapter-static en mi aplicación Svelte Kit (quiero convertirlo en un SPA). Instalé el adaptador estático con npm i @sveltejs/adapter-static.

El código en svelte.config.cjs se ve así

 kit: { // By default, `npm run build` will create a standard Node app. // You can create optimized builds for different platforms by // specifying a different adapter adapter: adapter({ fallback: 'app.html' }),

Cuando inicio mi aplicación con npm run dev , aparece el siguiente error: config.kit.adapter should be an object with an "adapt" method

¿Cómo puedo arreglar esto?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

solo instálalo con el siguiente comando:

 npm i -D @sveltejs/adapter-static@next

los créditos van a: https://github.com/GrygrFlzr

over 4 years ago · Santiago Trujillo 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!