You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
I would expect quasar dev to work after running quasar ext add @quasar/qmarkdown
Desktop:
OS: Windows 11
Browser: -
Version: -
Additional context
Full error example:
(node:26208) UnhandledPromiseRejectionWarning: Error: Cannot find module 'markdown-it-footnote'
Require stack:
- {path_to_project}\node_modules\@quasar\quasar-app-extension-qmarkdown\src\markdown.js
- {path_to_project}\node_modules\@quasar\quasar-app-extension-qmarkdown\src\index.js
- {path_to_project}\node_modules\@quasar\app\lib\app-extension\Extension.js
- {path_to_project}\node_modules\@quasar\app\lib\app-extension\extensions-runner.js
- {path_to_project}\node_modules\@quasar\app\lib\quasar-conf-file.js
- {path_to_project}\node_modules\@quasar\app\bin\quasar-dev
- {path_to_project}\node_modules\@quasar\app\bin\quasar
- C:\Users\{user}\AppData\Roaming\npm\node_modules\@quasar\cli\bin\quasar
- loader.js:889 Function.Module._resolveFilename
internal/modules/cjs/loader.js:889:15
- loader.js:745 Function.Module._load
internal/modules/cjs/loader.js:745:27
- loader.js:961 Module.require
internal/modules/cjs/loader.js:961:19
- helpers.js:92 require
internal/modules/cjs/helpers.js:92:18
- markdown.js:7 Object.<anonymous>
[flink-frontend-temp]/[@quasar]/quasar-app-extension-qmarkdown/src/markdown.js:7:18
- loader.js:1072 Module._compile
internal/modules/cjs/loader.js:1072:14
- loader.js:1101 Object.Module._extensions..js
internal/modules/cjs/loader.js:1101:10
- loader.js:937 Module.load
internal/modules/cjs/loader.js:937:32
- loader.js:778 Function.Module._load
internal/modules/cjs/loader.js:778:12
- loader.js:961 Module.require
internal/modules/cjs/loader.js:961:19
(Use `node --trace-warnings ...` to show where the warning was created)
(node:26208) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:26208) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Workaround
I've manually added the following packages to make it work:
Describe the bug
Adding the QMarkdown@next extension and running
quasar dev
leads to missing markdown-it components.To Reproduce
Steps to reproduce the behavior:
quasar upgrade -i
quasar ext add @quasar/qmarkdown@next
quasar dev
UnhandledPromiseRejectionWarning: Error: Cannot find module 'markdown-it-footnote
Expected behavior
I would expect
quasar dev
to work after runningquasar ext add @quasar/qmarkdown
Desktop:
Additional context
Full error example:
Workaround
I've manually added the following packages to make it work:
Any user also experiencing this issue could use the code above to manually insert the missing packages quickly.
The text was updated successfully, but these errors were encountered: