Closed
Description
Steps to Reproduce
Locally reproducible. Happy to chat.
- make
- yarn dev
- Try to navigate to the changes made to the docs
Expected Result
See the changes made to the docs
Actual Result
➜ sentry-docs git:(master) ✗ yarn dev
yarn run v1.22.22
$ yarn enforce-redirects && concurrently "yarn sidecar" "node ./src/hotReloadWatcher.mjs" "next dev"
$ node ./scripts/no-vercel-json-redirects.mjs
[1] ⚡️ Hot reload watcher listening on ws://localhost:8080
$ yarn spotlight-sidecar
$ /Users/bitfox/Workspace/sentry-docs/node_modules/.bin/spotlight-sidecar
[2] (node:54542) [DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN] DeprecationWarning: webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin
[2] (Use `node --trace-deprecation ...` to show where the warning was created)
[2] (node:54542) [DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN] DeprecationWarning: webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option
[2] (node:54542) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin
[2] (node:54542) [DEP_WEBPACK_OPTIONS_DEFAULTER] DeprecationWarning: webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults
[0] 🔎 [Spotlight] Sidecar listening on 8969
[0] 🔎 [Spotlight] You can open: http://localhost:8969 to see the Spotlight overlay directly
[2] ▲ Next.js 14.2.4
[2] - Local: http://localhost:3000
[2] - Environments: .env.development
[2] - Experiments (use with caution):
[2] · instrumentationHook
[2]
[2] ✓ Starting...
[2] (node:54545) [DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN] DeprecationWarning: webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin
[2] (Use `node --trace-deprecation ...` to show where the warning was created)
[2] (node:54545) [DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN] DeprecationWarning: webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option
[2] (node:54545) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin
[2] (node:54545) [DEP_WEBPACK_OPTIONS_DEFAULTER] DeprecationWarning: webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults
[2] 🔄 using sdk docs redirects in next.config.js
[2] ○ Compiling /instrumentation ...
[2] ✓ Compiled /instrumentation in 1560ms (1327 modules)
[2] ✓ Ready in 11.6s
[2] ✓ Compiled /src/middleware in 362ms (451 modules)
[2] ○ Compiling /[[...path]] ...
[2] (node:54545) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
[2] (node:54545) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
[2] ✓ Compiled /[[...path]] in 7.5s (9412 modules)
[2] <w> [webpack.cache.PackFileCacheStrategy] Serializing big strings (108kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)
[2] Failed to set fetch cache https://raw.githubusercontent.com/getsentry/sentry-api-schema/600d5fbcfecb4085f6fd6f482cd6f1615ddc2b37/openapi-derefed.json Error: Failed to set Next.js data cache, items over 2MB can not be cached (2964920 bytes)
[2] at IncrementalCache.set (/Users/bitfox/Workspace/sentry-docs/node_modules/next/dist/server/lib/incremental-cache/index.js:391:23)
[2] at eval (webpack-internal:///(rsc)/./node_modules/next/dist/server/lib/patch-fetch.js:454:74)
[2] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[2] at async resolveOpenAPI (webpack-internal:///(rsc)/./src/build/resolveOpenAPI.ts:23:22)
[2] at async apiCategoriesUncached (webpack-internal:///(rsc)/./src/build/resolveOpenAPI.ts:38:18)
[2] at async getDocsFrontMatterUncached (webpack-internal:///(rsc)/./src/mdx.ts:99:24)
[2] at async Object.generateStaticParams (webpack-internal:///(rsc)/./app/[[...path]]/page.tsx:60:18)
[2] at async buildParams (/Users/bitfox/Workspace/sentry-docs/node_modules/next/dist/build/utils.js:1026:40)
[2] at async /Users/bitfox/Workspace/sentry-docs/node_modules/next/dist/build/utils.js:1043:33
[2] at async Object.loadStaticPaths (/Users/bitfox/Workspace/sentry-docs/node_modules/next/dist/server/dev/static-paths-worker.js:47:16)
[2] ⚠ metadataBase property in metadata export is not set for resolving social open graph or twitter images, using "http://localhost:3000". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase
Additional Info
I've seen this not just on my local machine but on PRs as well.
I.e. #11042 and the corresponding vercel logs
Metadata
Metadata
Assignees
Type
Projects
Status
Done