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
...
Error: Cannot find module 'semver'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:657:17)
at require (/path/to/project/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.<anonymous> (/path/to/project/node_modules/@vuepress/shared-utils/lib/module.js:3:16)
...
Bug report
I am using the
@vuepress/markdown-loader
package in another project.This package requires
@vuepress/shared-utils
.The
parseFrontmatter.ts
file requires thegray-matter
module which is not present in thepackage.json
of@vuepress/shared-utils
.Version
Steps to reproduce
@vuepress/markdown-loader
(e.g.npm install @vuepress/markdown-loader
)npm install webpack webpack-cli
Example.md
)What is expected?
The markdown loader compiles all Markdown files.
What is actually happening?
Webpack throws the following warnings:
Other relevant information
macOS
v11.6.0
n/a
local
npm
The text was updated successfully, but these errors were encountered: