Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Dockerfile issue with .env.example #132

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

afro-coder
Copy link
Contributor

Fixes #77 in the dockerfile

STEP 8/10: RUN pnpm build

> @starter-kit/blog-enterprise@ build /app/packages/blog-starter-kit/themes/enterprise
> next build


> Build error occurred
TypeError: Cannot read properties of undefined (reading 'document')
    at parseRequestExtendedArgs (/app/node_modules/.pnpm/graphql-request@6.1.0_graphql@16.8.1/node_modules/graphql-request/build/cjs/parseArgs.js:38:25)
    at request (/app/node_modules/.pnpm/graphql-request@6.1.0_graphql@16.8.1/node_modules/graphql-request/build/cjs/index.js:330:72)
    at getRedirectionRules (/app/packages/blog-starter-kit/themes/enterprise/next.config.js:31:21)
    at Object.redirects (/app/packages/blog-starter-kit/themes/enterprise/next.config.js:88:16)
    at loadRedirects (/app/node_modules/.pnpm/next@13.5.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/lib/load-custom-routes.js:360:34)
    at loadCustomRoutes (/app/node_modules/.pnpm/next@13.5.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/lib/load-custom-routes.js:438:9)
    at /app/node_modules/.pnpm/next@13.5.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/index.js:215:134
    at Span.traceAsyncFn (/app/node_modules/.pnpm/next@13.5.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/trace/trace.js:105:26)
    at /app/node_modules/.pnpm/next@13.5.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/index.js:215:87
    at async Span.traceAsyncFn (/app/node_modules/.pnpm/next@13.5.5_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/trace/trace.js:105:20)
 ELIFECYCLE  Command failed with exit code 1.
Error: building at STEP "RUN pnpm build": while running runtime: exit status 1

Copy link

vercel bot commented May 18, 2024

@leon-nunes is attempting to deploy a commit to the Hashnode Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Jun 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
starter-kit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 4:53am

@Harsh062 Harsh062 merged commit cf79673 into Hashnode:main Jun 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read properties of undefined (reading 'document')
3 participants