Docusaurus fails to build.
$ mkdir test-docu
$ cd test-docu
$ npm install docusaurus
$ docusaurus-init
$ cd website
$ npm install
$ npm run build
It should build.
> docusaurus-build
{ Error: Cannot find module 'imagemin'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
at Function.Module._load (internal/modules/cjs/loader.js:520:25)
at Module.require (internal/modules/cjs/loader.js:650:17)
We're seeing this, on upgrade, across all our projects too:
https://github.com/tophat/yvm/issues/297 see the build reference
https://github.com/tophat/RichTextView/issues/87
https://github.com/tophat/jenkins-timeline-plugin/issues/67
https://github.com/tophat/with-immutable-props-to-js/issues/42
https://github.com/tophat/sanity-runner/issues/52#issuecomment-457101082
https://github.com/tophat/codewatch/issues/98
https://github.com/facebook/Docusaurus/pull/1201 should fix the issue. I will get another release out with this fix in it.
v1.7.1 published to npm - please let us know if is working now.
Closing this.
@mrchess Have you tried v1.7.1 to see if this issue was resolved?
Looking good for us now
Most helpful comment
We're seeing this, on upgrade, across all our projects too:
https://github.com/tophat/yvm/issues/297 see the build reference
https://github.com/tophat/RichTextView/issues/87
https://github.com/tophat/jenkins-timeline-plugin/issues/67
https://github.com/tophat/with-immutable-props-to-js/issues/42
https://github.com/tophat/sanity-runner/issues/52#issuecomment-457101082
https://github.com/tophat/codewatch/issues/98