Error: Cannot find module '@docusaurus/plugin-ideal-image' #2825
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs triage
This issue has not been triaged by maintainers
🐛 Bug Report
I am trying to use the
plugin-ideal-image
plugin, however despite installing and configuring, it throws an error to say it cannot find it. I can confirm that the plugin exists in mynode_modules
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
Install
plugin-ideal-image
withnpm i --save @docusaurus/plugin-ideal-image
. This adds the dependency"@docusaurus/plugin-ideal-image": "^2.0.0-alpha.39",
Add the plugin to my
docusaurus.config.js
file:plugins: ['@docusaurus/plugin-ideal-image'],
Import the plugin and use in my mdx file:
npm run start
Expected behavior
Image is loaded and displayed in documentation
Actual Behavior
Docusaurus fails to start with the below error:
Your Environment
The text was updated successfully, but these errors were encountered: