GithubHelp home page GithubHelp logo

chronark.com's People

Contributors

c0nf1den71al avatar chronark avatar dodyagung avatar kulgg avatar liuxuan30 avatar ryanmalani avatar schjndler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chronark.com's Issues

Unable to build locally

Tried using npm and pnpm and neither would build. "pnpm install" works fine, but running "pnpm dev" throws the following error

- error Failed to load next.config.mjs, see more info here https://nextjs.org/docs/messages/next-config-error

Error: Cannot find package 'C:\Users\x\Desktop\nextjs-portfolio\nextjs-portfolio-x\node_modules\.pnpm\@[email protected]_@[email protected]_@[email protected]_yd2af6audhnahnbsveya6jkwiy\node_modules\@opentelemetry\exporter-trace-otlp-grpc\package.json' imported from C:\Users\x\Desktop\nextjs-portfolio\nextjs-portfolio-x\node_modules\.pnpm\@[email protected]_@[email protected]_@[email protected]_yd2af6audhnahnbsveya6jkwiy\node_modules\@effect-ts\otel-exporter-trace-otlp-grpc\_mjs\index.mjs

Did you mean to import @[email protected]_@[email protected]/node_modules/@opentelemetry/exporter-trace-otlp-grpc/build/src/index.js?  
   at legacyMainResolve (node:internal/modules/esm/resolve:188:26)
   at packageResolve (node:internal/modules/esm/resolve:767:14)
   at moduleResolve (node:internal/modules/esm/resolve:829:20)
   at defaultResolve (node:internal/modules/esm/resolve:1034:11)
   at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:375:12)
   at ModuleLoader.resolve (node:internal/modules/esm/loader:344:25)
   at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:220:38)
   at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
   at link (node:internal/modules/esm/module_job:84:36) {
 type: 'Error',
 code: 'ERR_MODULE_NOT_FOUND'
}
 ELIFECYCLE  Command failed with exit code 1.

Seems related to the previous issue mentioned here: #17. However, that fix doesn't seem to work.

If related, the root cause of this problem can be found here: contentlayerdev/contentlayer#506

Could not get any of the fixes mentioned in that thread to work. So either a fix or temporary workaround would be great, thanks!

Environment Settup

I update the env.local with details from cloudinary. (cloudname, apikey, and API secret). I am not sure what the folder is supposed to be.

Morever, I keep getting this error:

error Error: Must supply cloud_name

Bug report for project page and project/[slug] page

Hi there,

First of all, Love your design.

I'm new to web development and react, now I'm trying to develop a personal site using your template from vercel.

I found two issues:

  1. when trying to open projects/page or http://localhost:3000/projects, it will likely to give error, especially when you try to refresh:
Unhandled Runtime Error
Error: Hydration failed because the initial UI does not match what was rendered on the server.

Warning: Expected server HTML to contain a matching <article> in <a>.

See more info here: https://nextjs.org/docs/messages/react-hydration-error

Component Stack
article
a
LinkComponent
./node_modules/next/dist/client/link.js (100:23)
div
Card
./app/components/card.tsx (26:11)
  1. for projects/[slug] page, like /projects/planetfall, when click on the card, it also throws error (and sometimes can load the page),
error - Page changed from static to dynamic at runtime /projects/planetfall, reason: no-store fetch https://evolving-cougar-30891.upstash.io /projects/[slug]
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error
    at globalThis.fetch (/Users/xuanliu/react/bio/MySite/node_modules/src/server/app-render.tsx:408:23)
    at HttpClient.request (webpack-internal:///(sc_server)/./node_modules/@upstash/redis/esm/pkg/http.js:94:29)
    at GetCommand.exec (webpack-internal:///(sc_server)/./node_modules/@upstash/redis/esm/pkg/commands/command.js:55:37)
    at PostPage (webpack-internal:///(sc_server)/./app/projects/[slug]/page.tsx:39:19) {
  page: '/projects/[slug]'

I tried to use

export const dynamic = "force-dynamic"

or

export const dynamic = 'force-dynamic'
export const dynamicParams = true
export const revalidate = false
export const fetchCache = 'auto'
export const runtime = 'nodejs'
export const preferredRegion = 'auto'

from https://beta.nextjs.org/docs/api-reference/segment-config

seems also not working.

I'm trying to understand what's wrong and this, but seems I need your help or, you could kindly look into it.

I basically changed nothing from your code, just yarn install and yarn dev, it will throw above error.

I also tried to downgrade to next.js 3.1.6, seems the same issue.

home page text fill color is not full.

Hi there,

Notice another issue that,

the home page's main title has white fill color, but if the char is like p, or g, the fill is not complete after the animation:
image

I tried to tweak the height, but couldn't find which element controls the animation and the final height? it seems there are two lines joining the animation but I cannot see any 'line' element

Project/page.tsx bugs

I ran the project locally and the website works as expected but once i click on project i get this error

Error: Cannot read properties of undefined (reading 'slug')

<div className="flex flex-col w-full gap-8 mx-auto border-t border-gray-900/10 lg:mx-0 lg:border-t-0 ">
						{[top2, top3].map((project) => (
							<Card key={project.slug}>
								<Article project={project} views={views[project.slug] ?? 0} />
							</Card>
						))}
					</div>

image

beamanalytics

how do i put analytics in my website? i tried replacing the code in analytics.tsx using the code snippet provided by beam analytics but i got an error in vercel

Code Snippets Contain Ticks

Code Snippets Contain Ticks

Hey,

I love your template and have recently started using it, however, I noticed that inline code snippets using the format:

`code`

contain the back-ticks when rendered:

image

I have had a play around but no luck - Just wondered if you know what causes this?

Thanks :)

Unable to run locally

I'm trying to run your project locally, but it won't run. I'm getting this error every time I run: npm run dev


> [email protected] dev
> next dev

- ready started server on 0.0.0.0:3000, url: http://localhost:3000
- info Loaded env from C:\Users\X\Documents\Workshop\portfolio\.env
- error Failed to load next.config.mjs, see more info here https://nextjs.org/docs/messages/next-config-error
file:///C:/Users/X/Documents/Workshop/portfolio/node_modules/@effect-ts/otel/_mjs/Processor/Simple/index.mjs:7
import { ConsoleSpanExporter, SimpleSpanProcessor } from "@opentelemetry/sdk-trace-base";
         ^^^^^^^^^^^^^^^^^^^
SyntaxError: Named export 'ConsoleSpanExporter' not found. The requested module '@opentelemetry/sdk-trace-base' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

const { ConsoleSpanExporter, SimpleSpanProcessor } = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:190:5) {
  type: 'SyntaxError'
}

/enhancement Fix open graph images

Fix open graph images in /app/layout.tsx to ensure the correct image is displayed when sharing a link to the site on social media. Ensure the twitter card is also updated to include image text.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.