问题描述
运行 function Blog() {
return (
<div className="min-h-screen overflow-hidden">
<Navbar />
<div className="max-w-4xl mx-auto py-12 lg:py-16 ">
<h2 className="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl">
<span className="block">Coming soon!</span>
<span className="block text-indigo-600">I am just learning stuff about headless CMS and will build a blog here with strapi.io. Hang in!</span>
</h2>
</div>
<StaticQuery
query={query}
render={data => (
<div className="p-10 grid grid-cols-1 sm:grid-cols-1 md:grid-cols-3 lg:grid-cols-3 xl:grid-cols-3 gap-5">
{data.allStrapiArticles.edges.map(({ node:article })=> (
<div className="rounded overflow-hidden shadow-lg">
<Images />
<ConsoleLog>{ Images }</ConsoleLog>
<h3 key={article.strapiId}>{article.title}</h3>
</div>
))}
</div>
)}
/>
<Footer />
</div>
);
}
export default Blog;
时出现以下错误。
macOS - 10.13.5 节点 -v v14.16.1 npm -v 7.9.0
我尝试重新安装 XCode 命令行实用程序,但没有奏效。此软件包是否支持 mac OS 10.13.5?
npm ci
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)