Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

yarn/npm run dev时报错 #5

Description

@AEDELSTAN

以下为终端报错:

error   Cannot create property 'customClass' on string 'aside.customCards.推荐文章'
 File:
   E:\1 My files\Blog-Astro\1st\myblog\eval at instantiateModule (file:\E:\1%20My%20files\Blog-Astro\1st\myblog\node_modules\vite\dist\node\chunks\dep-41cf5ffd.js:56049:28
 Stacktrace:
TypeError: Cannot create property 'customClass' on string 'aside.customCards.推荐文章'
   at eval (eval at instantiateModule (file:///E:/1%20My%20files/Blog-Astro/1st/myblog/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:56049:28), <anonymous>:15:20)
   at AstroComponentInstance.customCard [as factory] (eval at instantiateModule (file:///E:/1%20My%20files/Blog-Astro/1st/myblog/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:56049:28), <anonymous>:22:12)
   at AstroComponentInstance.init (eval at instantiateModule (file:///E:/1%20My%20files/Blog-Astro/1st/myblog/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:56049:28), <anonymous>:26:29)
   at AstroComponentInstance.render (eval at instantiateModule (file:///E:/1%20My%20files/Blog-Astro/1st/myblog/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:56049:28), <anonymous>:31:18)
   at render.next (<anonymous>)
   at Module.renderChild (eval at instantiateModule (file:///E:/1%20My%20files/Blog-Astro/1st/myblog/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:56049:28), <anonymous>:33:18)
   at async EagerAsyncIterableIterator.next (eval at instantiateModule (file:///E:/1%20My%20files/Blog-Astro/1st/myblog/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:56049:28), <anonymous>:170:14)
   at async [Symbol.asyncIterator] (eval at instantiateModule (file:///E:/1%20My%20files/Blog-Astro/1st/myblog/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:56049:28), <anonymous>:38:9)
   at async Module.renderAstroTemplateResult (eval at instantiateModule (file:///E:/1%20My%20files/Blog-Astro/1st/myblog/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:56049:28), <anonymous>:47:20)
   at async renderChild (eval at instantiateModule (file:///E:/1%20My%20files/Blog-Astro/1st/myblog/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:56049:28), <anonymous>:31:5)

请问是我的问题嘛,应该如何解决?望解答

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions