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

vc dev:error #143

Open
alitayin opened this issue Jun 26, 2023 · 0 comments
Open

vc dev:error #143

alitayin opened this issue Jun 26, 2023 · 0 comments

Comments

@alitayin
Copy link

Vercel CLI 30.2.3

Running Dev Command “next dev --port $PORT”
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
Ready! Available at http://localhost:3000
warn - You have enabled experimental features (appDir, mdxRs) in next.config.js.
warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

info - Thank you for testing appDir please leave your feedback at https://nextjs.link/app-feedback
event - compiled client and server successfully in 1119 ms (262 modules)
wait - compiling...
event - compiled client and server successfully in 174 ms (262 modules)
wait - compiling /middleware (client and server)...
event - compiled successfully in 172 ms (59 modules)
wait - compiling /page (client and server)...
event - compiled client and server successfully in 2.2s (797 modules)
error - node_modules/@upstash/redis/esm/platforms/nodejs.js (27:36) @ startsWith
error - Error [TypeError]: Cannot read properties of undefined (reading 'startsWith')
at new Redis (webpack-internal:///(sc_server)/./node_modules/@upstash/redis/esm/platforms/nodejs.js:30:37)
at eval (webpack-internal:///(sc_server)/./app/redis.ts:7:15)
at (sc_server)/./app/redis.ts (/Users/alita/Downloads/blogtest/blog/.next/server/app/page.js:1921:1)
at webpack_require (/Users/alita/Downloads/blogtest/blog/.next/server/webpack-runtime.js:33:42)
at eval (webpack-internal:///(sc_server)/./app/get-posts.ts:6:64)
at (sc_server)/./app/get-posts.ts (/Users/alita/Downloads/blogtest/blog/.next/server/app/page.js:1844:1)
at webpack_require (/Users/alita/Downloads/blogtest/blog/.next/server/webpack-runtime.js:33:42)
at eval (webpack-internal:///(sc_server)/./app/page.tsx:9:68)
at (sc_server)/./app/page.tsx (/Users/alita/Downloads/blogtest/blog/.next/server/app/page.js:1899:1)
at Function.webpack_require (/Users/alita/Downloads/blogtest/blog/.next/server/webpack-runtime.js:33:42) {
digest: undefined
}
null

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

No branches or pull requests

1 participant