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

307
Views
Can't import js library 'node-quill-converter'

I 'm trying to install this library in a react-typescript app for quill node-quill-converte but i can't import it it exists in my node_modules folder after successful installation but while trying

import {convertTextToDelta} from 'node-quill-converter'

It gets me an error that this path to library doesn't exist i 've also tried

const { convertTextToDelta } = require('node-quill-converter-improved');

it shows me this error

    TypeError: fs.readFileSync is not a function
(anonymous function)
node_modules/node-quill-converter-improved/lib/index.js:10
   7 | let quillFilePath = require.resolve("quill");
   8 | let quillMinFilePath = quillFilePath.replace("quill.js", "quill.min.js");
   9 | 
> 10 | let quillLibrary = fs.readFileSync(quillMinFilePath);
  11 | let mutationObserverPolyfill = fs.readFileSync(
  12 |   path.join(__dirname, "polyfill.js")
  13 | );
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!