clerk / clerk-nextjs-pages-quickstart Goto Github PK
View Code? Open in Web Editor NEWThe official companion repo for Clerk's Next.js Quickstart using the pages router
The official companion repo for Clerk's Next.js Quickstart using the pages router
Hello,
Thanks for the example, however I fail to successfully run the project using the instructions provided. I am using an Ubuntu distro (22.04) with Nodejs v18.19.x and by doing the following,
.env.local
in the root folder with the required variables as fetched from Clerk's dashboard, and finally doing,npm install && npm run dev
I get the following error:
➜ clerk-nextjs-pages-quickstart git:(main) ✗ npm install
up to date, audited 393 packages in 994ms
119 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
➜ clerk-nextjs-pages-quickstart git:(main) ✗ npm run dev
> [email protected] dev
> next dev
▲ Next.js 14.0.4
- Local: http://localhost:3000
- Environments: .env.local
✓ Ready in 2.7s
✓ Compiled /src/middleware in 428ms (281 modules)
⨯ node_modules/@clerk/shared/dist/chunk-5DRMPUGE.mjs (175:12) @ Object.throwMissingPublishableKeyError
⨯ @clerk/backend: Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.
null
○ Compiling /_error ...
Obviously, I cannot provide the keys that I've put in my .env.local
but they were pasted as-is from the dashboard. What am I doing wrong?
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.