chec / headlesscommerce.org Goto Github PK
View Code? Open in Web Editor NEWHeadless Commerce resources
Home Page: https://headlesscommerce.org
License: BSD 3-Clause "New" or "Revised" License
Headless Commerce resources
Home Page: https://headlesscommerce.org
License: BSD 3-Clause "New" or "Revised" License
I noticed there are two sample files: .env.sample
and env.sample
When I try to deploy this site to Netlify, I see the following error:
Page Not Found
Looks like you've followed a broken link or entered a URL that doesn't exist on this site.
Here's the Netlify log file:
8:51:47 PM: Build ready to start
8:51:49 PM: build-image version: 53b83b6bede2920f236b25b6f5a95334320dc849
8:51:49 PM: build-image tag: v3.6.0
8:51:49 PM: buildbot version: 8ae026ef4905d9174e416775c6b64aa19950569b
8:51:49 PM: Fetching cached dependencies
8:51:49 PM: Starting to download cache of 139.6MB
8:51:55 PM: Finished downloading cache in 5.841851199s
8:51:55 PM: Starting to extract cache
8:52:00 PM: Finished extracting cache in 5.505354518s
8:52:00 PM: Finished fetching cache in 11.394396378s
8:52:00 PM: Starting to prepare the repo for build
8:52:01 PM: Preparing Git Reference refs/heads/next
8:52:04 PM: Starting build script
8:52:04 PM: Installing dependencies
8:52:04 PM: Python version set to 2.7
8:52:05 PM: Started restoring cached node version
8:52:08 PM: Finished restoring cached node version
8:52:09 PM: v12.18.0 is already installed.
8:52:09 PM: Now using node v12.18.0 (npm v6.14.4)
8:52:09 PM: Started restoring cached build plugins
8:52:09 PM: Finished restoring cached build plugins
8:52:10 PM: Attempting ruby version 2.7.1, read from environment
8:52:11 PM: Using ruby version 2.7.1
8:52:12 PM: Using PHP version 5.6
8:52:12 PM: Started restoring cached node modules
8:52:12 PM: Finished restoring cached node modules
8:52:12 PM: Installing NPM modules using NPM version 6.14.4
8:52:19 PM: npm WARN @tailwindcss/[email protected] requires a peer of [email protected] || ^2.0.0 but none is installed. You must install peer dependencies yourself.
8:52:19 PM: npm WARN [email protected] requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
8:52:19 PM: npm WARN [email protected] requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0 but none is installed. You must install peer dependencies yourself.
8:52:19 PM: npm WARN [email protected] requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
8:52:19 PM: npm WARN [email protected] requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
8:52:19 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
8:52:19 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:52:19 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
8:52:19 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:52:19 PM: audited 922 packages in 6.028s
8:52:19 PM: 67 packages are looking for funding
8:52:19 PM: run `npm fund` for details
8:52:19 PM: found 2 vulnerabilities (1 moderate, 1 high)
8:52:19 PM: run `npm audit fix` to fix them, or `npm audit` for details
8:52:19 PM: NPM modules installed
8:52:20 PM: Started restoring cached go cache
8:52:20 PM: Finished restoring cached go cache
8:52:20 PM: go version go1.14.4 linux/amd64
8:52:20 PM: go version go1.14.4 linux/amd64
8:52:20 PM: Installing missing commands
8:52:20 PM: Verify run directory
8:52:22 PM:
8:52:22 PM: ────────────────────────────────────────────────────────────────
8:52:22 PM: Netlify Build
8:52:22 PM: ────────────────────────────────────────────────────────────────
8:52:22 PM:
8:52:22 PM: ❯ Version
8:52:22 PM: @netlify/build 8.0.0
8:52:22 PM:
8:52:22 PM: ❯ Flags
8:52:22 PM: deployId: 5fec0763ccd527a3a4da19f3
8:52:22 PM: mode: buildbot
8:52:22 PM:
8:52:22 PM: ❯ Current directory
8:52:22 PM: /opt/build/repo
8:52:22 PM:
8:52:22 PM: ❯ Config file
8:52:22 PM: No config file was defined: using default values.
8:52:22 PM:
8:52:22 PM: ❯ Context
8:52:22 PM: production
8:52:22 PM:
8:52:22 PM: ────────────────────────────────────────────────────────────────
8:52:22 PM: 1. Build command from Netlify app
8:52:22 PM: ────────────────────────────────────────────────────────────────
8:52:22 PM:
8:52:22 PM: $ next build
8:52:23 PM: warn - No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache
8:52:23 PM: info - Creating an optimized production build...
8:52:33 PM: info - Using external babel configuration from /opt/build/repo/.babelrc
8:53:07 PM: info - Compiled successfully
8:53:07 PM: info - Collecting page data...
8:53:09 PM: info - Generating static pages (0/8)
8:53:11 PM: info - Generating static pages (2/8)
8:53:11 PM: info - Generating static pages (4/8)
8:53:11 PM: info - Generating static pages (6/8)
8:53:11 PM: info - Generating static pages (8/8)
8:53:11 PM: info - Finalizing page optimization...
8:53:11 PM: Page Size First Load JS
8:53:11 PM: ┌ ● / (ISR: 5 Seconds) 1.07 kB 147 kB
8:53:11 PM: ├ /_app 0 B 69.5 kB
8:53:11 PM: ├ ● /[slug] 638 B 105 kB
8:53:11 PM: ├ ○ /404 3.01 kB 72.6 kB
8:53:11 PM: ├ ● /agencies (ISR: 5 Seconds) 1.58 kB 106 kB
8:53:11 PM: ├ λ /api/suggest 0 B 69.5 kB
8:53:11 PM: ├ ● /categories (ISR: 5 Seconds) 1.08 kB 105 kB
8:53:11 PM: ├ ● /categories/[slug] 3.06 kB 107 kB
8:53:11 PM: ├ ├ /categories/cms
8:53:11 PM: ├ └ /categories/communication
8:53:11 PM: ├ ● /mystack (ISR: 5 Seconds) 1.05 kB 147 kB
8:53:11 PM: └ ● /suggest (ISR: 5 Seconds) 1.36 kB 113 kB
8:53:11 PM: + First Load JS shared by all 69.5 kB
8:53:11 PM: ├ chunks/ae0b69ce3d742d653fdea6afd60f811bb1b4e36f.f367e7.js 4.16 kB
8:53:11 PM: ├ chunks/commons.9b549c.js 12.8 kB
8:53:11 PM: ├ chunks/framework.ae3781.js 42.1 kB
8:53:11 PM: ├ chunks/main.94f8a9.js 6.55 kB
8:53:11 PM: ├ chunks/pages/_app.c4b4fa.js 3.22 kB
8:53:11 PM: ├ chunks/webpack.95c2b2.js 751 B
8:53:11 PM: └ css/7849ae9458296cb2969d.css 5.01 kB
8:53:11 PM: λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
8:53:11 PM: ○ (Static) automatically rendered as static HTML (uses no initial props)
8:53:11 PM: ● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
8:53:11 PM: (ISR) incremental static regeneration (uses revalidate in getStaticProps)
8:53:12 PM:
8:53:12 PM: (build.command completed in 49.5s)
8:53:12 PM:
8:53:12 PM: ────────────────────────────────────────────────────────────────
8:53:12 PM: Netlify Build Complete
8:53:12 PM: ────────────────────────────────────────────────────────────────
8:53:12 PM:
8:53:12 PM: (Netlify Build completed in 49.5s)
8:53:12 PM: Caching artifacts
8:53:12 PM: Started saving node modules
8:53:12 PM: Finished saving node modules
8:53:12 PM: Started saving build plugins
8:53:12 PM: Finished saving build plugins
8:53:12 PM: Started saving pip cache
8:53:12 PM: Finished saving pip cache
8:53:12 PM: Started saving emacs cask dependencies
8:53:12 PM: Finished saving emacs cask dependencies
8:53:12 PM: Started saving maven dependencies
8:53:12 PM: Finished saving maven dependencies
8:53:12 PM: Started saving boot dependencies
8:53:12 PM: Finished saving boot dependencies
8:53:12 PM: Started saving rust rustup cache
8:53:12 PM: Finished saving rust rustup cache
8:53:12 PM: Started saving rust cargo bin cache
8:53:12 PM: Finished saving rust cargo bin cache
8:53:12 PM: Started saving go dependencies
8:53:12 PM: Finished saving go dependencies
8:53:12 PM: Build script success
8:53:12 PM: Starting to deploy site from 'public'
8:53:12 PM: Creating deploy tree
8:53:12 PM: Creating deploy upload records
8:53:12 PM: 0 new files to upload
8:53:12 PM: 0 new functions to upload
8:53:12 PM: Starting post processing
8:53:12 PM: Post processing - HTML
8:53:12 PM: Post processing - header rules
8:53:12 PM: Post processing - redirect rules
8:53:12 PM: Post processing done
8:53:12 PM: Site is live ✨
8:53:38 PM: Finished processing build request in 1m49.00347251s
I am running the $ next build
command on Netlify.
The public
folder is deployed, but the rest of the website is missing.
Am I missing something?
Hi - I'd like to add https://buttercms.com to the list of services here. Is the data stored in this repo or is it stored in an Algolia Index? How can I contribute? Thanks!
Running $ yarn dev
gives the following error:
yarn run v1.22.10
$ next
ready - started server on http://localhost:3000
info - Using external babel configuration from /Users/skurilyak/dev/testing/chec/headlesscommerce.org/.babelrc
event - compiled successfully
event - build page: /
wait - compiling...
event - build page: /next/dist/pages/_error
TypeError: Only absolute URLs are supported
at getNodeRequestOptions (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1305:9)
at /Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1410:19
at new Promise (<anonymous>)
at fetch (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1407:9)
at fetch (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/cross-fetch/dist/node-ponyfill.js:10:20)
at GraphQLClient.<anonymous> (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:159:46)
at step (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:63:23)
at Object.next (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:44:53)
at /Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:38:71
at new Promise (<anonymous>)
at __awaiter (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:34:12)
at GraphQLClient.request (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:151:16)
at getPageBySlug (webpack-internal:///./lib/queries.ts:72:102)
at getStaticProps (webpack-internal:///./pages/index.tsx:40:79)
at renderToHTML (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/next/dist/next-server/server/render.js:28:115)
at runMicrotasks (<anonymous>)
event - compiled successfully
TypeError: Only absolute URLs are supported
at getNodeRequestOptions (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1305:9)
at /Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1410:19
at new Promise (<anonymous>)
at fetch (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1407:9)
at fetch (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/cross-fetch/dist/node-ponyfill.js:10:20)
at GraphQLClient.<anonymous> (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:159:46)
at step (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:63:23)
at Object.next (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:44:53)
at /Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:38:71
at new Promise (<anonymous>)
at __awaiter (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:34:12)
at GraphQLClient.request (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:151:16)
at getPageBySlug (webpack-internal:///./lib/queries.ts:72:102)
at getStaticProps (webpack-internal:///./pages/index.tsx:40:79)
at renderToHTML (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/next/dist/next-server/server/render.js:28:115)
at async /Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/next/dist/next-server/server/next-server.js:99:97
TypeError: Only absolute URLs are supported
at getNodeRequestOptions (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1305:9)
at /Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1410:19
at new Promise (<anonymous>)
at fetch (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1407:9)
at fetch (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/cross-fetch/dist/node-ponyfill.js:10:20)
at GraphQLClient.<anonymous> (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:159:46)
at step (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:63:23)
at Object.next (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:44:53)
at /Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:38:71
at new Promise (<anonymous>)
at __awaiter (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:34:12)
at GraphQLClient.request (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:151:16)
at getPageBySlug (webpack-internal:///./lib/queries.ts:72:102)
at getStaticProps (webpack-internal:///./pages/index.tsx:40:79)
at renderToHTML (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/next/dist/next-server/server/render.js:28:115)
at async /Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/next/dist/next-server/server/next-server.js:99:97
TypeError: Only absolute URLs are supported
at getNodeRequestOptions (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1305:9)
at /Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1410:19
at new Promise (<anonymous>)
at fetch (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/node-fetch/lib/index.js:1407:9)
at fetch (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/cross-fetch/dist/node-ponyfill.js:10:20)
at GraphQLClient.<anonymous> (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:159:46)
at step (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:63:23)
at Object.next (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:44:53)
at /Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:38:71
at new Promise (<anonymous>)
at __awaiter (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:34:12)
at GraphQLClient.request (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/graphql-request/dist/index.js:151:16)
at getPageBySlug (webpack-internal:///./lib/queries.ts:72:102)
at getStaticProps (webpack-internal:///./pages/index.tsx:40:79)
at renderToHTML (/Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/next/dist/next-server/server/render.js:28:115)
at async /Users/skurilyak/dev/testing/chec/headlesscommerce.org/node_modules/next/dist/next-server/server/next-server.js:99:97
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@types/react
, react
, react-dom
)These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
package.json
@slack/webhook 6.1.0
classcat 5.0.4
graphql 16.6.0
graphql-request 3.7.0
lodash.shuffle 4.2.0
next 10.1.3
next-seo 4.29.0
react 17.0.2
react-dom 17.0.2
react-hook-form 6.15.8
react-markdown 6.0.3
react-select 4.3.1
@tailwindcss/typography 0.4.1
@tailwindcss/ui 0.7.2
@types/node 16.11.60
@types/react 17.0.47
airtable 0.11.5
babel-plugin-inline-react-svg 2.0.1
postcss-preset-env 6.7.1
prettier 2.7.1
tailwindcss 1.9.6
typescript 4.8.3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.