Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

193
Vistas
unable to make a package run in nextjs which is working in reactjs

Link I am using JSME React npm package for using JSME editor to run on my app. this package is working perfectly fine in reactjs. But not working in nextjs project. can anyone point out where I am doing wrong. Whenever i install in a next js problem and run the app i am getting JSME initialization error: HTML id jsme11798 not found Error in console and the editor is not visible.

import React, { useEffect } from "react";
import { Jsme } from "jsme-react";

function Editor() {
  return (
    <div>
      <Jsme height="300px" width="400px" options="oldlook,star" />
    </div>
  );
}

export default Editor;

enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Most of the editors need to run on browser, try to import Editor component on client side only. Documentaion

In your page file:

import dynamic from 'next/dynamic'

const Editor= dynamic(
  () => import('../components/Editor'), //Editor component path
  { ssr: false }
)
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda