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

145
Views
svelte-codejar "ctx[1] no es un constructor"

Estoy usando svelte y svelte-codejar con prismjs y recibo este error Uncaught TypeError: ctx[1] is not a constructor Aquí está mi código

 <script context="module"> import Prism from "prismjs" const highlight = (code, syntax) => Prism.highlight(code, Prism.languages[syntax], syntax); </script> <script> import "prismjs/themes/prism-tomorrow.css"; import {getContext} from "svelte"; import {DEFAULT_CODE_SAMPLE, DEFAULT_CODE_SYNTAX} from "./_sample"; const store = getContext("CodeJar"); const options = getContext("options"); const CodeJar = $store; </script>

cualquier ayuda sería excelente. También obtengo un Uncaught TypeError: $options is undefined si se agrega esta línea $: ({withLineNumbers = false} = $options);

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!