Getting `Cannot find module 'jsdom-quokka-plugin'` in WebStorm

1.9k Views Asked by At

I am getting following error, when running quokka plugin in WebStorm. How to resolve it?

Quokka #1 (node: v6.9.5, plugins: jsdom-quokka-plugin)

Cannot find module 'jsdom-quokka-plugin'`

I can reinstall WebStorm but it does not help.

2

There are 2 best solutions below

0
On

Solved it by removing "jsdom-quokka-plugin" plugin entry at ~/.quokka/config.json

0
On

You may either remove the jsdom-quokka-plugin plugin from your Quokka config file, or install it (by running npm i) in your project, or in the Quokka config folder.