next.js bigcommerce demo installation broken
See original GitHub issueBug report
Describe the bug
Bug in installing the demo one click install with bigcommerce
To Reproduce
Use one click installer with bigcommerce in australia
Expected behavior
working demo
Screenshots
21:01:31 | Cloning github.com/Hewlbern/commerce (Branch: master, Commit: 0589ff7) |
---|---|
21:01:32 | Cloning completed in 871ms |
21:01:32 | Analyzing source code… |
21:01:33 | Installing build runtime… |
21:01:34 | Build runtime installed: 511.926ms |
21:01:34 | Looking up build cache… |
21:01:34 | Build cache not found |
21:01:35 | Installing dependencies… |
21:01:35 | yarn install v1.22.4 |
21:01:35 | [1/4] Resolving packages… |
21:01:35 | [2/4] Fetching packages… |
21:01:44 | info fsevents@2.1.3: The platform “linux” is incompatible with this module. |
21:01:44 | info “fsevents@2.1.3” is an optional dependency and failed compatibility check. Excluding it from installation. |
21:01:44 | [3/4] Linking dependencies… |
21:01:44 | warning " > @bigcommerce/storefront-data-hooks@1.0.2" has incorrect peer dependency “react@>=17”. |
21:01:44 | warning " > @vercel/fetch@6.1.0" has unmet peer dependency “@types/node-fetch@2”. |
21:01:44 | warning " > @vercel/fetch@6.1.0" has unmet peer dependency “node-fetch@2”. |
21:01:44 | warning “@bigcommerce/storefront-data-hooks > @vercel/fetch > @vercel/fetch-cached-dns@2.0.1” has unmet peer dependency “node-fetch@*”. |
21:01:44 | warning “@bigcommerce/storefront-data-hooks > @vercel/fetch > @vercel/fetch-retry@5.0.3” has unmet peer dependency “node-fetch@*”. |
21:01:44 | warning “next > use-subscription@1.5.0” has incorrect peer dependency “react@^17.0.0”. |
21:01:44 | warning " > postcss-import@13.0.0" has unmet peer dependency “postcss@^8.0.0”. |
21:01:44 | warning " > react-ticker@1.2.2" has unmet peer dependency “prop-types@^15.5.4”. |
21:01:47 | [4/4] Building fresh packages… |
21:01:50 | Done in 15.22s. |
21:01:50 | Running “yarn run build” |
21:01:50 | yarn run v1.22.4 |
21:01:50 | $ next build |
21:01:51 | warn - You have enabled experimental feature(s). |
21:01:51 | warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use them at your own risk. |
21:01:51 | info - Creating an optimized production build… |
21:01:51 | Attention: Next.js now collects completely anonymous telemetry regarding usage. |
21:01:51 | This information is used to shape Next.js’ roadmap and prioritize features. |
21:01:51 | You can learn more, including how to opt-out if you’d not like to participate in this anonymous program, by visiting the following URL: |
21:01:51 | https://nextjs.org/telemetry |
21:02:05 | warn - The conservative purge mode will be removed in Tailwind 2.0. |
21:02:05 | warn - Please switch to the new layers mode instead. |
21:02:26 | <w> [webpack.cache.PackFileCacheStrategy] Serializing big strings (137kiB) impacts deserialization performance (consider using Buffer instead and decode when needed) |
21:02:26 | <w> [webpack.cache.PackFileCacheStrategy] Serializing big strings (126kiB) impacts deserialization performance (consider using Buffer instead and decode when needed) |
21:02:26 | <w> [webpack.cache.PackFileCacheStrategy] Serializing big strings (186kiB) impacts deserialization performance (consider using Buffer instead and decode when needed) |
21:02:37 | info - Compiled successfully |
21:02:37 | info - Collecting page data… |
21:02:38 | info - Generating static pages (0/45) |
21:02:38 | Unhandled error during request: Error: Page with slug ‘en-US/shipping-returns’ not found |
21:02:38 | at getStaticProps (/vercel/workpath0/.next/serverless/pages/[…pages].js:6748:11) |
21:02:38 | at processTicksAndRejections (internal/process/task_queues.js:97:5) |
21:02:38 | at async renderToHTML (/vercel/workpath0/node_modules/next/dist/next-server/server/render.js:26:109) |
21:02:38 | at async renderReqToHTML (/vercel/workpath0/.next/serverless/pages/[…pages].js:7385:22) |
21:02:38 | at async Object.exportPage [as default] (/vercel/workpath0/node_modules/next/dist/export/worker.js:12:92) |
21:02:38 | Error occurred prerendering page “/en-US/shipping-returns”. Read more: https://err.sh/next.js/prerender-error |
21:02:38 | Error: Page with slug ‘en-US/shipping-returns’ not found |
21:02:38 | at getStaticProps (/vercel/workpath0/.next/serverless/pages/[…pages].js:6748:11) |
21:02:38 | at processTicksAndRejections (internal/process/task_queues.js:97:5) |
21:02:38 | at async renderToHTML (/vercel/workpath0/node_modules/next/dist/next-server/server/render.js:26:109) |
21:02:38 | at async renderReqToHTML (/vercel/workpath0/.next/serverless/pages/[…pages].js:7385:22) |
21:02:38 | at async Object.exportPage [as default] (/vercel/workpath0/node_modules/next/dist/export/worker.js:12:92) |
21:02:39 | Unhandled error during request: Error: Page with slug ‘en-US/contact-us’ not found |
21:02:39 | at getStaticProps (/vercel/workpath0/.next/serverless/pages/[…pages].js:6748:11) |
21:02:39 | at processTicksAndRejections (internal/process/task_queues.js:97:5) |
21:02:39 | at async renderToHTML (/vercel/workpath0/node_modules/next/dist/next-server/server/render.js:26:109) |
21:02:39 | at async renderReqToHTML (/vercel/workpath0/.next/serverless/pages/[…pages].js:7385:22) |
21:02:39 | at async Object.exportPage [as default] (/vercel/workpath0/node_modules/next/dist/export/worker.js:12:92) |
21:02:39 | Error occurred prerendering page “/en-US/contact-us”. Read more: https://err.sh/next.js/prerender-error |
21:02:39 | Error: Page with slug ‘en-US/contact-us’ not found |
21:02:39 | at getStaticProps (/vercel/workpath0/.next/serverless/pages/[…pages].js:6748:11) |
21:02:39 | at processTicksAndRejections (internal/process/task_queues.js:97:5) |
21:02:39 | at async renderToHTML (/vercel/workpath0/node_modules/next/dist/next-server/server/render.js:26:109) |
21:02:39 | at async renderReqToHTML (/vercel/workpath0/.next/serverless/pages/[…pages].js:7385:22) |
21:02:39 | at async Object.exportPage [as default] (/vercel/workpath0/node_modules/next/dist/export/worker.js:12:92) |
21:02:40 | info - Generating static pages (11/45) |
21:02:42 | info - Generating static pages (22/45) |
21:02:43 | info - Generating static pages (33/45) |
21:02:44 | info - Generating static pages (45/45) |
21:02:44 | > Build error occurred |
21:02:44 | Error: Export encountered errors on following paths: |
21:02:44 | /en-US/contact-us |
21:02:44 | /en-US/shipping-returns |
21:02:44 | at exportApp (/vercel/workpath0/node_modules/next/dist/export/index.js:25:1103) |
21:02:44 | at runMicrotasks (<anonymous>) |
21:02:44 | at processTicksAndRejections (internal/process/task_queues.js:97:5) |
21:02:44 | at async build (/vercel/workpath0/node_modules/next/dist/build/index.js:39:69) |
21:02:44 | error Command failed with exit code 1. |
21:02:44 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
21:02:44 | Error: Command “yarn run build” exited with 1 |
21:02:47 | Done with “package.json” |
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Getting error after cloning Next.js + BigCommerce project and ...
When trying Next.js + BigCommerce live demo starter, Sign up + Sign in + Logout for Customer API is working fine. When cloning...
Read more >How to Build a Storefront with Next.js and BigCommerce
In this tutorial, you will build a Storefront connecting the Storyblok, BigCommerce and Next.js Commerce systems. Take a look at the end ...
Read more >Next.js Commerce - Vercel
Next.js Commerce. The all-in-one starter kit for high-performance e-commerce sites. With a few clicks, Next.js developers can clone, deploy and fully ...
Read more >How to develop on Next.js Commerce: an in-depth guide
It supports a number of major commerce platforms out of the box, including Shopify, BigCommerce, Swell, Saleor, Commerce.js, and more.
Read more >Next.js Commerce: An overview and tutorial - LogRocket Blog
Next.js Commerce framework empowers developers to build a seamless e-commerce experience with a BigCommerce backend.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@michaelozery removing the
engines
part inpackage.json
did the trick for meStill erroring