nutlope / notesgpt Goto Github PK
View Code? Open in Web Editor NEWRecord voice notes & transcribe, summarize, and get tasks
Home Page: https://usenotesgpt.com
License: MIT License
Record voice notes & transcribe, summarize, and get tasks
Home Page: https://usenotesgpt.com
License: MIT License
Hello, I find the idea intriguing and I'm interested in contributing to some features.
However, I have followed the setups for Deployting and followed them all but I found website very laggy and unable to even recorded a voice note so could
MY PC :
i9900K
32 GB RAM
I would love if could clarify on what environments to deploy website on so we can test freely on some features
I have multiple voice recordings on my phone. It would be useful to have the ability to import a MP3/WAV to the app.
I think as a productivity boosting app, it would be convenient to have this as an extension in the browser in order to help users quickly access their list.
Hi, there are some issues, regarding going to a transcript, it gives an application error
provide docker file/image for self deployment.
Error: Invalid deployment address: Must end with ".convex.cloud". Found "https://dashboard.convex.dev/".(base) yixin0909zhang@yixin0909s-MacBook-Pro notesGPT % npm install
added 514 packages, and audited 515 packages in 23s
127 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
npm notice
npm notice New minor version of npm available! 10.5.0 -> 10.7.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.7.0
npm notice Run npm install -g [email protected] to update!
npm notice
(base) yixin0909zhang@yixin0909s-MacBook-Pro notesGPT % npm run dev
[email protected] predev
convex dev --until-success
Welcome to developing with Convex, let's get you logged in.
? Device name: aaaa
Visit https://auth.convex.dev/activate?user_code=CPWW-BTBC to finish logging in.
You should see the following code which expires in 15 minutes: CPWW-BTBC
? Open the browser? Yes
✔ Saved credentials to ~/.convex/config.json
? What would you like to configure? a new project
? Project name: aaaaa
✔ Created project aaaaa, manage it at https://dashboard.convex.dev/t/zyxcambridge/aaaaa
Your account now has 1 project remaining.
not overwriting README.md
not overwriting tsconfig.json
✔ Provisioned a dev deployment and saved its:
name as CONVEX_DEPLOYMENT to .env.local
URL as NEXT_PUBLIC_CONVEX_URL to .env.local
Write your Convex functions in convex/
Give us feedback at https://convex.dev/community or [email protected]
✔ Schema validation complete.
✔ Added table indexes:
[+] actionItems.by_noteId ["noteId","_creationTime"]
[+] actionItems.by_userId ["userId","_creationTime"]
[+] notes.by_userId ["userId","_creationTime"]
[+] notes.by_embedding {"dimensions":768,"vectorField":"embedding","filterFields":["userId"]}
Analyzing and deploying source code...
✖ Go to https://dashboard.convex.dev/t/zyxcambridge/aaaaa/dutiful-weasel-444/settings/environment-variables?var=CLERK_ISSUER_URL to setup your environment variable.
Hit an error while pushing:
Environment variable CLERK_ISSUER_URL is used in auth config file but its value was not set
at (../convex/auth.config.js:5:21)
✔ Schema validation complete.
Analyzing and deploying source code...
✔ 10:50:07 Convex functions ready! (5.61s)
[email protected] dev
npm-run-all --parallel dev:backend dev:frontend
[email protected] dev:backend
convex dev
[email protected] dev:frontend
next dev
▲ Next.js 14.0.4
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
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:
https://nextjs.org/telemetry
⠼ Preparing Convex functions...
✔ 10:50:14 Convex functions ready! (4.38s)
○ Compiling /middleware ...
✓ Compiled /middleware in 845ms (283 modules)
⨯ node_modules/@clerk/backend/dist/esm/index.js (697:10) @ Error
⨯ Missing Clerk Secret Key or API Key. Go to https://dashboard.clerk.com and get your key for your instance.
null
✓ Compiled /error in 443ms (188 modules)
○ Compiling /not-found ...
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⨯ node_modules/@clerk/backend/dist/esm/index.js (697:10) @ Error
⨯ Missing Clerk Secret Key or API Key. Go to https://dashboard.clerk.com and get your key for your instance.
null
✓ Compiled /not-found in 2.2s (1075 modules)
⨯ node_modules/@clerk/shared/dist/chunk-5DRMPUGE.mjs (175:12) @ Object.throwMissingPublishableKeyError
⨯ Internal error: Error: @clerk/nextjs: Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.
at Object.throwMissingPublishableKeyError (./node_modules/@clerk/shared/dist/chunk-5DRMPUGE.mjs:196:19)
at ClerkProviderBase (./node_modules/@clerk/clerk-react/dist/esm/contexts/ClerkProvider.js:29:62)
at ai (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:6505)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:11284
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:41727)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:43088)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at a (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:50165)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:38901
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:39374)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at a_ (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:50165)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:38901
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:39374)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
null
⨯ node_modules/@clerk/shared/dist/chunk-5DRMPUGE.mjs (175:12) @ Object.throwMissingPublishableKeyError
⨯ Internal error: Error: @clerk/nextjs: Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.
at Object.throwMissingPublishableKeyError (./node_modules/@clerk/shared/dist/chunk-5DRMPUGE.mjs:196:19)
at ClerkProviderBase (./node_modules/@clerk/clerk-react/dist/esm/contexts/ClerkProvider.js:29:62)
at ai (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:6505)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:11284
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:41727)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:43088)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at a_ (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:50165)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:38901
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:39374)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at a_ (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:50165)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:38901
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:39374)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
null
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⨯ node_modules/@clerk/backend/dist/esm/index.js (697:10) @ Error
⨯ Missing Clerk Secret Key or API Key. Go to https://dashboard.clerk.com and get your key for your instance.
null
⨯ node_modules/@clerk/backend/dist/esm/index.js (697:10) @ Error
⨯ Missing Clerk Secret Key or API Key. Go to https://dashboard.clerk.com and get your key for your instance.
null
⨯ node_modules/@clerk/shared/dist/chunk-5DRMPUGE.mjs (175:12) @ Object.throwMissingPublishableKeyError
⨯ Internal error: Error: @clerk/nextjs: Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.
at Object.throwMissingPublishableKeyError (./node_modules/@clerk/shared/dist/chunk-5DRMPUGE.mjs:196:19)
at ClerkProviderBase (./node_modules/@clerk/clerk-react/dist/esm/contexts/ClerkProvider.js:29:62)
at ai (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:6505)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:11284
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:41727)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at ag (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:7923)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13014
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:13038)
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:43088)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at a_ (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:50165)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:38901
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:39374)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
at aS (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:48276)
at a_ (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:50165)
at /Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:38901
at ab (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:39374)
at e (/Users/yixin0909zhang/Desktop/notesGPT/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:46298)
null
[webpack.cache.PackFileCacheStrategy] Serializing big strings (101kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)
✓ Compiled /favicon.ico in 107ms (573 modules)
Reload env: .env.local
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⨯ node_modules/@clerk/backend/dist/esm/index.js (697:10) @ Error
⨯ Missing Clerk Secret Key or API Key. Go to https://dashboard.clerk.com and get your key for your instance.
null
✓ Compiled in 1498ms (842 modules)
○ Compiling /not-found ...
✓ Compiled /not-found in 975ms (1059 modules)
✓ Compiled /favicon.ico in 83ms (573 modules)
○ Compiling / ...
✓ Compiled / in 946ms (1462 modules)
⚠ The "images.domains" configuration is deprecated. Please use "images.remotePatterns" configuration instead.
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
✓ Compiled /dashboard in 425ms (1580 modules)
⨯ node_modules/@clerk/backend/dist/esm/index.js (1330:18) @ SessionAPI.eval [as request]
⨯ Error: Not Found
at async getAuthToken (./app/auth.ts:8:12)
at async ServerDashboardHomePage (./app/dashboard/page.tsx:17:19)
null
⨯ node_modules/@clerk/backend/dist/esm/index.js (1330:18) @ SessionAPI.eval [as request]
⨯ Error: Not Found
at async getAuthToken (./app/auth.ts:8:12)
at async ServerDashboardHomePage (./app/dashboard/page.tsx:17:19)
digest: "2533320378"
null
[webpack.cache.PackFileCacheStrategy] Serializing big strings (101kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)
Reload env: .env.local
⚠ Fast Refresh had to perform a full reload due to a runtime error.
✓ Compiled in 536ms (1831 modules)
✓ Compiled in 277ms (1831 modules)
✓ Compiled in 128ms (1831 modules)
Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
When you have the tasks print, is no way you can change dates, priority or any other detail
It could either be some hidden text area with all the items that gets revealed with a button or a copy
button that copies all items in the clipboard
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT % npm install
(##################) ⠴ reify:convex: http fetch GET 200 https://registry.npmjs.org/convex/-/convex-1.9.0.tgz 39708ms (cache miss)
(##################) ⠴ reify:convex: http fetch GET 200 https://registry.npmjs.org/convex/-/convex-1.9.0.tgz 39708ms (cache miss)
(##################) ⠴ reify:convex: http fetch GET 200 https://registry.npmjs.org/convex/-/convex-1.9.0.tgz 39708ms (cache miss)
added 514 packages, and audited 515 packages in 3m
127 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT % npm run dev
[email protected] predev
convex dev --until-success
Welcome to developing with Convex, let's get you logged in.
? Device name: 张益新’s MacBook Pro
Visit https://auth.convex.dev/activate?user_code=HLKX-DQTR to finish logging in.
You should see the following code which expires in 15 minutes: HLKX-DQTR
? Open the browser? Yes
✔ Saved credentials to ~/.convex/config.json
? Project name: notesGPT
✔ Created project notesgpt-a228a, manage it at https://dashboard.convex.dev/t/zyxcambridge/notesgpt-a228a
not overwriting README.md
not overwriting tsconfig.json
✔ Provisioned a dev deployment and saved its:
name as CONVEX_DEPLOYMENT to .env.local
URL as NEXT_PUBLIC_CONVEX_URL to .env.local
Write your Convex functions in convex/
Give us feedback at https://convex.dev/community or [email protected]
✔ Schema validation complete.
✔ Added table indexes:
[+] actionItems.by_noteId ["noteId","_creationTime"]
[+] actionItems.by_userId ["userId","_creationTime"]
[+] notes.by_userId ["userId","_creationTime"]
[+] notes.by_embedding {"dimensions":768,"vectorField":"embedding","filterFields":["userId"]}
Analyzing and deploying source code...
✖ Go to https://dashboard.convex.dev/t/zyxcambridge/notesgpt-a228a/modest-ostrich-109/settings/environment-variables?var=CLERK_ISSUER_URL to setup your environment variable.
Hit an error while pushing:
Environment variable CLERK_ISSUER_URL is used in auth config file but its value was not set
at (../convex/auth.config.js:5:21)
✔ Schema validation complete.
Analyzing and deploying source code...
✖ Go to https://dashboard.convex.dev/t/zyxcambridge/notesgpt-a228a/modest-ostrich-109/settings/environment-variables?var=CLERK_ISSUER_URL to setup your environment variable.
Hit an error while pushing:
Environment variable CLERK_ISSUER_URL is used in auth config file but its value was not set
at (../convex/auth.config.js:5:21)
⠋ Preparing Convex functions...
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: Cannot read properties of undefined (reading 'numSubscribers')
at LocalSyncState.removeSubscriber (/Users/zhangyixin/Desktop/notesGPT/node_modules/convex/dist/cli.bundle.cjs:275177:20)
at unsubscribe (/Users/zhangyixin/Desktop/notesGPT/node_modules/convex/dist/cli.bundle.cjs:275033:33)
at unsubscribe (/Users/zhangyixin/Desktop/notesGPT/node_modules/convex/dist/cli.bundle.cjs:276516:31)
at stopWatching (/Users/zhangyixin/Desktop/notesGPT/node_modules/convex/dist/cli.bundle.cjs:276828:5)
⠹ Preparing Convex functions...
^C
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT % npm run dev
[email protected] predev
convex dev --until-success
✔ Schema validation complete.
Analyzing and deploying source code...
✖ Go to https://dashboard.convex.dev/t/zyxcambridge/notesgpt-a228a/modest-ostrich-109/settings/environment-variables?var=CLERK_ISSUER_URL to setup your environment variable.
Hit an error while pushing:
Environment variable CLERK_ISSUER_URL is used in auth config file but its value was not set
at (../convex/auth.config.js:5:21)
✔ Schema validation complete.
Analyzing and deploying source code...
✔ 22:23:27 Convex functions ready! (6.84s)
[email protected] dev
npm-run-all --parallel dev:backend dev:frontend
[email protected] dev:frontend
next dev
[email protected] dev:backend
convex dev
⚠ Port 3000 is in use, trying 3001 instead.
▲ Next.js 14.0.4
⠙ Checking for index or schema changes...
✔ 22:23:36 Convex functions ready! (5.78s)
○ Compiling /middleware ...
✓ Compiled /middleware in 904ms (283 modules)
[webpack.cache.PackFileCacheStrategy] Serializing big strings (101kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)
✓ Compiled /favicon.ico in 127ms (44 modules)
○ Compiling / ...
✓ Compiled / in 2.2s (990 modules)
⚠ The "images.domains" configuration is deprecated. Please use "images.remotePatterns" configuration instead.
✓ Compiled in 270ms (467 modules)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
○ Compiling /dashboard ...
✓ Compiled /dashboard in 992ms (1253 modules)
⨯ node_modules/@clerk/backend/dist/esm/index.js (1330:18) @ SessionAPI.eval [as request]
⨯ Error: Not Found
at async getAuthToken (./app/auth.ts:8:12)
at async ServerDashboardHomePage (./app/dashboard/page.tsx:17:19)
null
⨯ node_modules/@clerk/backend/dist/esm/index.js (1330:18) @ SessionAPI.eval [as request]
⨯ Error: Not Found
at async getAuthToken (./app/auth.ts:8:12)
at async ServerDashboardHomePage (./app/dashboard/page.tsx:17:19)
digest: "2533320378"
null
✓ Compiled in 122ms (507 modules)
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⨯ node_modules/@clerk/backend/dist/esm/index.js (1330:18) @ SessionAPI.eval [as request]
⨯ Error: Not Found
at async getAuthToken (./app/auth.ts:8:12)
at async ServerDashboardHomePage (./app/dashboard/page.tsx:17:19)
null
⨯ node_modules/@clerk/backend/dist/esm/index.js (1330:18) @ SessionAPI.eval [as request]
⨯ Error: Not Found
at async getAuthToken (./app/auth.ts:8:12)
at async ServerDashboardHomePage (./app/dashboard/page.tsx:17:19)
digest: "2533320378"
null
⨯ node_modules/@clerk/backend/dist/esm/index.js (1330:18) @ SessionAPI.eval [as request]
⨯ Error: Not Found
at async getAuthToken (./app/auth.ts:8:12)
at async ServerDashboardHomePage (./app/dashboard/page.tsx:17:19)
null
⨯ node_modules/@clerk/backend/dist/esm/index.js (1330:18) @ SessionAPI.eval [as request]
⨯ Error: Not Found
at async getAuthToken (./app/auth.ts:8:12)
at async ServerDashboardHomePage (./app/dashboard/page.tsx:17:19)
digest: "2533320378"
null
⨯ node_modules/@clerk/backend/dist/esm/index.js (1330:18) @ SessionAPI.eval [as request]
⨯ Error: Not Found
at async getAuthToken (./app/auth.ts:8:12)
at async ServerDashboardHomePage (./app/dashboard/page.tsx:17:19)
null
Great project!
There is a time counting error.
When it is 00:59, the next second will show as 2:00.
When it is 01:59, the next second will show as 4:00.
We may choose to use totalSeconds instead of minutes and seconds.
const [totalSeconds, setTotalSeconds] = useState(0);
useEffect(() => {
let interval: NodeJS.Timeout;
if (isRunning) {
interval = setInterval(() => {
setTotalSeconds((prevTotalSeconds) => prevTotalSeconds + 1);
}, 1000);
}
return () => {
if (interval) {
clearInterval(interval);
}
};
}, [isRunning]);
function formatTime(time: number): string {
return time < 10 ? `0${time}` : `${time}`;
}
...
{formatTime(Math.floor(totalSeconds / 60))}:{formatTime(totalSeconds % 60)}
A pull request submitted.
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT % export REPLICATE_API_TOKEN=r8_UOlfy9Bx0DGkO2xEznykOIGudYzKbbW254bMk
(base) zhangyixin@zhangyixin notesGPT % python /Users/zhangyixin/Desktop/re.test.whisper.py
{'detected_language': 'english', 'segments': [{'avg_logprob': -0.060722851171726135, 'compression_ratio': 1.412280701754386, 'end': 18.6, 'id': 0, 'no_speech_prob': 0.05907342955470085, 'seek': 0, 'start': 0, 'temperature': 0, 'text': " the little tales they tell are false the door was barred locked and bolted as well ripe pears are fit for a queen's table a big wet stain was on the round carpet", 'tokens': [50365, 264, 707, 27254, 436, 980, 366, 7908, 264, 2853, 390, 2159, 986, 9376, 293, 13436, 292, 382, 731, 31421, 520, 685, 366, 3318, 337, 257, 12206, 311, 3199, 257, 955, 6630, 16441, 390, 322, 264, 3098, 18119, 51295]}, {'avg_logprob': -0.1184891973223005, 'compression_ratio': 1.696969696969697, 'end': 31.840000000000003, 'id': 1, 'no_speech_prob': 0.000253104604780674, 'seek': 1860, 'start': 18.6, 'temperature': 0, 'text': ' the kite dipped and swayed but stayed aloft the pleasant hours fly by much too soon the room was crowded with a mild wab', 'tokens': [50365, 264, 38867, 45162, 293, 27555, 292, 457, 9181, 419, 6750, 264, 16232, 2496, 3603, 538, 709, 886, 2321, 264, 1808, 390, 21634, 365, 257, 15154, 261, 455, 51027]}, {'avg_logprob': -0.1184891973223005, 'compression_ratio': 1.696969696969697, 'end': 45.2, 'id': 2, 'no_speech_prob': 0.000253104604780674, 'seek': 1860, 'start': 31.840000000000003, 'temperature': 0, 'text': ' the room was crowded with a wild mob this strong arm shall shield your honour she blushed when he gave her a white orchid', 'tokens': [51027, 264, 1808, 390, 21634, 365, 257, 4868, 4298, 341, 2068, 3726, 4393, 10257, 428, 20631, 750, 25218, 292, 562, 415, 2729, 720, 257, 2418, 34850, 327, 51695]}, {'avg_logprob': -0.1184891973223005, 'compression_ratio': 1.696969696969697, 'end': 48.6, 'id': 3, 'no_speech_prob': 0.000253104604780674, 'seek': 1860, 'start': 45.2, 'temperature': 0, 'text': ' the beetle droned in the hot june sun', 'tokens': [51695, 264, 49735, 1224, 19009, 294, 264, 2368, 361, 2613, 3295, 51865]}, {'avg_logprob': -0.30115177081181455, 'compression_ratio': 0.8409090909090909, 'end': 52.38, 'id': 4, 'no_speech_prob': 0.292143315076828, 'seek': 4860, 'start': 48.6, 'temperature': 0.4, 'text': ' the beetle droned in the hot june sun', 'tokens': [50365, 264, 49735, 1224, 19009, 294, 264, 2368, 361, 2613, 3295, 50554]}], 'transcription': " the little tales they tell are false the door was barred locked and bolted as well ripe pears are fit for a queen's table a big wet stain was on the round carpet the kite dipped and swayed but stayed aloft the pleasant hours fly by much too soon the room was crowded with a mild wab the room was crowded with a wild mob this strong arm shall shield your honour she blushed when he gave her a white orchid the beetle droned in the hot june sun the beetle droned in the hot june sun", 'translation': None}
(base) zhangyixin@zhangyixin notesGPT % r8_II6ADFlkwSS2mBqUNvEwh8a4FodXDUt4WKwPp
zsh: command not found: r8_II6ADFlkwSS2mBqUNvEwh8a4FodXDUt4WKwPp
(base) zhangyixin@zhangyixin notesGPT % r8_UOlfy9Bx0DGkO2xEznykOIGudYzKbbW254bMk
zsh: command not found: r8_UOlfy9Bx0DGkO2xEznykOIGudYzKbbW254bMk
(base) zhangyixin@zhangyixin notesGPT % npx convex deploy
You're currently developing against your dev deployment
next-bandicoot-953 (set in CONVEX_DEPLOYMENT)
Your prod deployment tough-vulture-160 serves traffic at:
NEXT_PUBLIC_CONVEX_URL=https://tough-vulture-160.convex.cloud
Make sure that your published client is configured with this URL (for instructions see https://docs.convex.dev/hosting)
? Do you want to push your code to your prod deployment tough-vulture-160 now? Yes
✔ Schema validation complete.
✔ Added table indexes:
[+] actionItems.by_noteId ["noteId","_creationTime"]
[+] actionItems.by_userId ["userId","_creationTime"]
[+] notes.by_userId ["userId","_creationTime"]
[+] notes.by_embedding {"dimensions":768,"vectorField":"embedding","filterFields":["userId"]}
Analyzing and deploying source code...
✖ Go to https://dashboard.convex.dev/t/zyxcambridge/mqj20240217/next-bandicoot-953/settings/environment-variables?var=CLERK_ISSUER_URL to setup your environment variable.
Hit an error while pushing:
Environment variable CLERK_ISSUER_URL is used in auth config file but its value was not set
at (../convex/auth.config.js:5:21)
Unexpected Error: Error: Client network socket disconnected before secure TLS connection was established
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: Client network socket disconnected before secure TLS connection was established
at TLSSocket.onConnectEnd (node:_tls_wrap:1727:19)
at TLSSocket.emit (node:events:531:35)
at TLSSocket.emit (node:domain:488:12)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
(base) zhangyixin@zhangyixin notesGPT % git pull
Already up to date.
(base) zhangyixin@zhangyixin notesGPT % git log
commit 72bbbc9 (HEAD -> main, origin/main, origin/HEAD)
Author: Hassan El Mghari [email protected]
Date: Fri Feb 16 15:04:47 2024 -0800
edited README
commit 50ab8a7
Merge: 527911b 671aff3
Author: Ian Macartney [email protected]
Date: Fri Feb 16 12:13:57 2024 -0800
Merge pull request #15 from xixixao/fix-optimize-auth
Fix optimize auth changes
commit 671aff3
Author: Michal Srb [email protected]
Date: Thu Feb 15 22:43:18 2024 -0800
Fix optimize auth changes
commit 527911b
Author: Hassan El Mghari [email protected]
Date: Thu Feb 15 16:44:37 2024 -0800
regenerated package-lock.json
commit d6a013b
Merge: b5668d8 2f53f0e
Author: Hassan El Mghari [email protected]
Date: Thu Feb 15 19:38:21 2024 -0500
Merge pull request #12 from xixixao/optimize-auth
Optimize auth
commit 2f53f0e
Author: Michal Srb [email protected]
Date: Thu Feb 15 15:56:10 2024 -0800
Simplify auth and preloading by returning null when not authed
commit 66d8608
Author: Michal Srb [email protected]
Date: Thu Feb 15 15:31:57 2024 -0800
Fix next/image props
commit b5668d8
Author: Hassan El Mghari [email protected]
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT % npm run dev
[email protected] predev
convex dev --until-success
✔ 09:34:29 Convex functions ready! (4.8s)
[email protected] dev
npm-run-all --parallel dev:backend dev:frontend
[email protected] dev:frontend
next dev
[email protected] dev:backend
convex dev
⚠ Port 3000 is in use, trying 3001 instead.
▲ Next.js 14.0.4
✓ Ready in 1683ms
✔ 09:34:36 Convex functions ready! (4.42s)
✓ Compiled /middleware in 203ms (283 modules)
✓ Compiled /favicon.ico in 187ms (44 modules)
○ Compiling / ...
✓ Compiled / in 2.2s (1316 modules)
⚠ The "images.domains" configuration is deprecated. Please use "images.remotePatterns" configuration instead.
✓ Compiled in 248ms (513 modules)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
✓ Compiled /dashboard in 466ms (1363 modules)
^C
(base) zhangyixin@zhangyixin notesGPT % ^C
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT %
(base) zhangyixin@zhangyixin notesGPT % git branch -a
(base) zhangyixin@zhangyixin notesGPT % git checkout origin/revert-1-preloading
error: Your local changes to the following files would be overwritten by checkout:
app/auth.ts
app/dashboard/page.tsx
Please commit your changes or stash them before you switch branches.
Aborting
(base) zhangyixin@zhangyixin notesGPT % git checkout origin/revert-1-preloading
(base) zhangyixin@zhangyixin notesGPT % git checkout origin/revert-1-preloading
Note: switching to 'origin/revert-1-preloading'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 701c81c Revert "Several improvements."
(base) zhangyixin@zhangyixin notesGPT % git branch -a
[email protected] dev
npm-run-all --parallel dev:server dev:client
[email protected] dev:server
convex dev
[email protected] dev:client
next dev
⚠ Port 3000 is in use, trying 3001 instead.
▲ Next.js 14.0.4
✓ Ready in 1684ms
⠧ Checking for index or schema changes...
⠏ Checking for index or schema changes...
✔ Schema validation complete.
✔ Deleted table indexes:
[-] notes.by_embedding {"dimensions":768,"vectorField":"embedding","filterFields":["userId"]}
[-] actionItems.by_userId ["userId","_creationTime"]
[-] notes.by_userId ["userId","_creationTime"]
[-] actionItems.by_noteId ["noteId","_creationTime"]
○ Compiling / ...
Analyzing and deploying source code...
✖ Error: Unable to push deployment config to https://next-bandicoot-953.convex.cloud
400 Bad Request: InvalidModules: Hit an error while pushing:
Loading the pushed modules encountered the following
error:
Failed to analyze openai.js: Uncaught Error: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).
at new OpenAI (../node_modules/openai/src/index.ts:112:188)
at (../convex/openai.ts:11:20)
✓ Compiled / in 2.2s (957 modules)
⚠ The "images.domains" configuration is deprecated. Please use "images.remotePatterns" configuration instead.
✓ Compiled in 223ms (465 modules)
○ Compiling /dashboard ...
✓ Compiled /dashboard in 916ms (1008 modules)
INFO: Clerk: The request to /record is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/record"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
INFO: Clerk: The request to /record is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/record"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
✓ Compiled /record in 146ms (1016 modules)
INFO: Clerk: The request to /record is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/record"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
✓ Compiled /favicon.ico in 146ms (544 modules)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
✓ Compiled / in 78ms (560 modules)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
⠋ Preparing Convex functions...
(base) zhangyixin@zhangyixin notesGPT % This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: Cannot read properties of undefined (reading 'numSubscribers')
at LocalSyncState.removeSubscriber (/Users/zhangyixin/Desktop/notesGPT/node_modules/convex/dist/cli.bundle.cjs:275177:20)
at unsubscribe (/Users/zhangyixin/Desktop/notesGPT/node_modules/convex/dist/cli.bundle.cjs:275033:33)
at unsubscribe (/Users/zhangyixin/Desktop/notesGPT/node_modules/convex/dist/cli.bundle.cjs:276516:31)
at stopWatching (/Users/zhangyixin/Desktop/notesGPT/node_modules/convex/dist/cli.bundle.cjs:276828:5)
⠹ Preparing Convex functions...
⠸ Preparing Convex functions...
⠏ Preparing Convex functions...
npm run devError: read EIO
at TTY.onStreamRead (node:internal/stream_base_commons:217:20) {
errno: -5,
code: 'EIO',
syscall: 'read'
[email protected] dev
npm-run-all --parallel dev:server dev:client
[email protected] dev:client
next dev
[email protected] dev:server
convex dev
⚠ Port 3000 is in use, trying 3001 instead.
▲ Next.js 14.0.4
✓ Ready in 1458ms
⠇ Checking for index or schema changes...
⠦ Backfilling indexes and checking that documents match your schema...
✔ Schema validation complete.
✔ Deleted table indexes:
[-] notes.by_embedding {"dimensions":768,"vectorField":"embedding","filterFields":["userId"]}
[-] notes.by_userId ["userId","_creationTime"]
[-] actionItems.by_noteId ["noteId","_creationTime"]
[-] actionItems.by_userId ["userId","_creationTime"]
✓ Compiled / in 1617ms (957 modules)
Analyzing and deploying source code...
✓ Compiled in 290ms (465 modules)
⚠ The "images.domains" configuration is deprecated. Please use "images.remotePatterns" configuration instead.
✖ Error: Unable to push deployment config to https://next-bandicoot-953.convex.cloud
400 Bad Request: InvalidModules: Hit an error while pushing:
Loading the pushed modules encountered the following
error:
Failed to analyze openai.js: Uncaught Error: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).
at new OpenAI (../node_modules/openai/src/index.ts:112:188)
at (../convex/openai.ts:11:20)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
✓ Compiled /dashboard in 238ms (1008 modules)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
INFO: Clerk: The request to /dashboard is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/dashboard"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
INFO: Clerk: The request to /record is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/record"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
INFO: Clerk: The request to /record is being redirected because there is no signed-in user, and the path is not included in ignoredRoutes
or publicRoutes
. To prevent this behavior, choose one of:
publicRoutes
array passed to authMiddlewareignoredRoutes: ["/((?!api|trpc))(_next.*|.+\.[\w]+$)", "/record"]
to authMiddlewareafterAuth
to authMiddleware, and replace Clerk's default behavior of redirecting unless a route is included in publicRoutesFor additional information about middleware, please visit https://clerk.com/docs/nextjs/middleware
(This log only appears in development mode, or if debug: true
is passed to authMiddleware)
✓ Compiled /record in 119ms (1016 modules)
If you say "muy importante" very important it didn't get it.
I checked off an action item to test the app's functionality. It disappeared from the action item list. There is no record of the completed action item.
Suggestion: Add an archive of completed action items.
Edit: I noticed that this is already planned. mb
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.