Open VictorPulzz opened 3 years ago
Had the same Problem. And im using vue too. But it wasnt Vue. It was Webpack. Jsdom is not working with Webpack.
Hey all! Interesting! Can you provide the minimal code necessary to reproduce?
With Nuxt.js similar problems:
These dependencies were not found:
@joelcolucci
Hey all! Interesting! Can you provide the minimal code necessary to reproduce?
Look, in mounted hook I'm using convertHtmlToDelta: https://codesandbox.io/s/h4b4o?file=/pages/index.vue
When I install this package and add to Import section:
import { convertHtmlToDelta } from 'node-quill-converter';
I got this errors Module not found: Error: Can't resolve 'child_process' in 'node_modules\jsdom\lib\jsdom\living' @ ./node_modules/jsdom/lib/jsdom/living/xmlhttprequest.js 4:22-46 @ ./node_modules/jsdom/lib/jsdom/browser/Window.js @ ./node_modules/jsdom/lib/api.js @ ./node_modules/node-quill-converter/lib/index.js