vuepress dev无异常 build报错 Cannot find module
报错信息如下:
Error: Cannot find module 'D:\Personal\Desktop\vuepress-starter\docs\.vuepress\dist\manifest\client.json'
Require stack:
- D:\Personal\Desktop\vuepress-starter\node_modules\_@vuepress_core@1.6.0@@vuepress\core\lib\node\build\index.js
- D:\Personal\Desktop\vuepress-starter\node_modules\_@vuepress_core@1.6.0@@vuepress\core\lib\node\App.js
- D:\Personal\Desktop\vuepress-starter\node_modules\_@vuepress_core@1.6.0@@vuepress\core\lib\index.js
- D:\Personal\Desktop\vuepress-starter\node_modules\_vuepress@1.6.0@vuepress\lib\registerCoreCommands.js
- D:\Personal\Desktop\vuepress-starter\node_modules\_vuepress@1.6.0@vuepress\cli.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
at Function.Module._load (internal/modules/cjs/loader.js:842:27)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Build.render (D:\Personal\Desktop\vuepress-starter\node_modules\_@vuepress_core@1.6.0@@vuepress\core\lib\node\build\index.js:56:28)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async App.build (D:\Personal\Desktop\vuepress-starter\node_modules\_@vuepress_core@1.6.0@@vuepress\core\lib\node\App.js:499:5)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
设置NODE_ENV=production