"siteMetadata.siteUrl" must be a valid uri 에러
미해결
React 기반 Gatsby로 기술 블로그 개발하기
ERROR #10122 CONFIG The site's gatsby-config.js failed validation: "siteMetadata.siteUrl" must be a valid uri not finished open and validate gatsby-configs, load plugins - 0.030s 빌드시 이런오류가 발생하는데, 로컬주소로 바꿔도 오류가 나더라구요... 어떤 방식으로 유효성을 체크하는 걸까요? module.exports = { siteMetadata: { title: `철진난만한 혜심의 블로그`, description: `주니어 개발자 혜심의 블로그입니다.`, author: `Haesim`, siteUrl: '<https://my-website-link.com>', // 배포 후 변경 예정 }, plugins: [ { resolve: 'gatsby-plugin-typescript', options: { isTSX: true, allExtensions: true, }, }, `gatsby-plugin-emotion`, `gatsby-plugin-react-helmet`, { resolve: `gatsby-source-filesystem`, options: { name: `contents`, path: `${__dirname}/contents`, }, }, `gatsby-transformer-sharp`, `gatsby-plugin-sharp`, { resolve: `gatsby-transformer-remark`, options: { plugins: [ { resolve: 'gatsby-remark-smartypants', options: { dashes: 'oldschool', }, }, { resolve: 'gatsby-remark-prismjs', options: { classPrefix: 'language-', }, }, { resolve: 'gatsby-remark-images', options: { maxWidth: 768, quality: 100, withWebp: true, }, }, { resolve: 'gatsby-remark-copy-linked-files', options: {}, }, { resolve: 'gatsby-remark-external-links', options: { target: '_blank', rel: 'nofollow', }, }, { resolve: `gatsby-plugin-sharp`, options: { defaults: { formats: ['auto', 'webp'], quality: 100, placeholder: 'blurred', }, }, }, { resolve: `gatsby-source-filesystem`, options: { name: `contents`, path: `${__dirname}/contents`, }, }, { resolve: `gatsby-source-filesystem`, options: { name: `images`, path: `${__dirname}/static`, }, }, { resolve: `gatsby-source-filesystem`, options: { name: `contents`, path: `${__dirname}/contents`, }, }, { resolve: 'gatsby-plugin-canonical-urls', options: { siteUrl: '<https://my-website.com/>', stripQueryString: true, }, }, 'gatsby-plugin-sitemap', `gatsby-transformer-sharp`, `gatsby-plugin-image`, ], }, }, ], }
- 빌드오류
- blog
- metadata
- siteUrl
- Gatsby





