Comments (4)
gatsby build
Output
success open and validate gatsby-configs — 0.666 s
success load plugins — 0.603 s
success onPreInit — 7.510 s
success delete html and css files from previous builds — 0.704 s
success initialize cache — 0.012 s
success copy gatsby files — 0.208 s
success onPreBootstrap — 0.009 s
success source and transform nodes — 4.622 s
success building schema — 1.150 s
success createPages — 0.283 s
success createPagesStatefully — 0.035 s
success onPreExtractQueries — 0.034 s
success update schema — 0.380 s
warning The GraphQL query in the non-page component "/home/mskian/Santhosh/san-status/src/templates/page.js" will not be run.
Exported queries are only executed for Page components. It's possible you're
trying to create pages in your gatsby-node.js and that's failing for some
reason.
If the failing component(s) is a regular component and not intended to be a page
component, you generally want to use a <StaticQuery> (https://gatsbyjs.org/docs/static-query)
instead of exporting a page query.
If you're more experienced with GraphQL, you can also export GraphQL
fragments from components and compose the fragments in the Page component
query and pass data down into the child component — http://graphql.org/learn/queries/#fragments
success extract queries from components — 0.298 s
success run graphql queries — 0.335 s — 16/16 47.98 queries/second
success write out page data — 0.003 s
success write out redirect data — 0.000 s
success onPostBootstrap — 0.001 s
info bootstrap finished - 39.646 s
success Building production JavaScript and CSS bundles — 10.875 s
error Building static HTML failed for path "/"
See our docs page on debugging HTML builds for help https://gatsby.app/debug-html
WebpackError: TypeError: Parameter "url" must be a string, not object
- static-entry.js:32 Object.urlResolve [as resolve]
lib/.cache/static-entry.js:32:3
- WebsiteMeta.js:15 WebsiteMeta
lib/src/components/common/meta/WebsiteMeta.js:15:28
- bootstrap:22 c
lib/webpack/bootstrap:22:1
- bootstrap:25 Sa
lib/webpack/bootstrap:25:1
- bootstrap:30 a.render
lib/webpack/bootstrap:30:1
- bootstrap:30 a.read
lib/webpack/bootstrap:30:1
- bootstrap:42 renderToString
lib/webpack/bootstrap:42:1
- static-entry.js:194 Module../.cache/static-entry.js.__webpack_exports__.default
lib/.cache/static-entry.js:194:18
- bootstrap:24 Promise
lib/webpack/bootstrap:24:1
- gatsby-browser-entry.js:1 Promise._resolveFromExecutor
lib/.cache/gatsby-browser-entry.js:1:1
- bootstrap:68 new Promise
lib/webpack/bootstrap:68:1
from gatsby-starter-ghost.
seems an issue in the line
File - WebsiteMeta.js
const shareImage = url.resolve(config.siteUrl, image || data.feature_image || _.get(settings, `cover_image`, null))
I replace with the old one its build successfully
const shareImage = url.resolve(config.siteUrl, image || data.feature_image || config.shareImage)
from gatsby-starter-ghost.
I include config.shareImage
in the code it build the site successfully
const shareImage = url.resolve(config.siteUrl, image || data.feature_image || _.get(settings, `cover_image`, null) || config.shareImage)
from gatsby-starter-ghost.
Thanks for the report! This issue occurs when no publication cover in Ghost is set. Fix coming now.
from gatsby-starter-ghost.
Related Issues (20)
- Can't get the "Deploy to netlify" button to work HOT 2
- Favicon and title error HOT 1
- Unable to enabe Google Analytics HOT 2
- How to add tag conditions in gatsby ghost blog? HOT 1
- Action Required: Fix Renovate Configuration
- Ghost localhost image URLs pushed to live site via Gatsby. HOT 1
- When we will get an update version of Ghost 4? HOT 1
- Error: cheerio.load() expects a string HOT 1
- Broken install HOT 7
- Dependency Dashboard
- ValidationError: Invalid options object. Ignore Plugin has been initialized using an options object that does not match the API schema. HOT 2
- Deploy to netlify does not work HOT 2
- gatsby develop build fails with Invalid options object - Fresh Installation HOT 10
- Add Strapi/other CMS support
- Lint script fails due to parsing errors
- Unhandled Runtime Error: _gatsbyScript.PartytownContext is undefined HOT 6
- Can I run this at folder level? HOT 1
- Error in function PartytownProvider HOT 2
- 0.001 s 0/4 0% Building static HTML for pages
- X
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-starter-ghost.