-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed as not planned
Description
Bug Report
When running docsify serve docs/
, it fails with the error
Error: Cannot find module 'prismjs'
This can usually work because the docsify
package itself depends on it. However, if some other dependency depends on prismjs
, the docsify dependency won't be hoist it so docisfy-server-renderer
won't find it.
Other relevant information
This can probably be fixed by adding the dependency to the docisyf-server-renderer
as well.
-
Bug does still occur when all/other plugins are disabled?
-
Your OS:
-
Node.js version: v12.18.2
-
npm/yarn version: yarn 1.22.5
-
Browser version:
-
Docsify version: 4.11.6
-
Docsify plugins:
Please create a reproducible sandbox
Mention the docsify version in which this bug was not present (if any)
Metadata
Metadata
Assignees
Labels
No labels