Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打包时报错:[Vue warn]: Error in render: "TypeError: Cannot read property 'match' of undefined" #416

Open
1 task
Eastboat opened this issue Dec 9, 2022 · 2 comments

Comments

@Eastboat
Copy link

Eastboat commented Dec 9, 2022

  • I confirm that this is an issue rather than a question.

Bug report

npm run build时报一个路由错误,之前使用1.x版本挺好的, 最近突然就这样.....

npm run build Times a routing error, before using 1.x version is fine, recently suddenly like this.....

What is actually happening?

[Vue warn]: Error in render: "TypeError: Cannot read property 'match' of undefined"

found in

---> <NavLink>
       <NavLinks>
         <Navbar>
           <Common>
             <Anonymous>
               <GlobalLayout>
                 <Root>
// ......
// ......
error Error rendering /docs/theme-reco/api.html: false
undefined
error Error rendering /docs/theme-reco/axios.html: false
undefined
error Error rendering /docs/theme-reco/theme.html: false
undefined
error Error rendering /docs/theme-reco/plugin.html: false
undefined
error Error rendering /docs/theme-reco/: false
undefined
TypeError: Cannot read property 'match' of undefined
    at ensureExt (node_modules/[email protected]@vuepress-theme-reco/helpers/utils.js:35:25)
    at 0.server-bundle.js:1683:92

WX20221209-160826@2x

Other relevant information

  • Your OS: MacOS Big Sur
  • Node.js version: 15.14.0
  • VuePress version: 1.8.2
  • VuePress-theme-reco version: 1.6.10
  • Which package manager did you use for the install(npm/cnpm/yarn/pnpm)? npm & cnpm
@H-TWINKLE
Copy link

同样遇到问题

@recoluan
Copy link
Member

建议升级2.0吧,1.0不维护了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants