HsuBlog icon indicating copy to clipboard operation
HsuBlog copied to clipboard

yarn/npm run dev时报错

Open AEDELSTAN opened this issue 1 year ago • 0 comments

以下为终端报错:

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)

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

AEDELSTAN avatar Apr 04 '24 23:04 AEDELSTAN