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

Please Update the react version so that It can support React 19 RC. #98

Open
meprazhant opened this issue Oct 26, 2024 · 2 comments
Open

Comments

@meprazhant
Copy link

When I try to install nextjs-toploader in NEXT 15 (React 19), it shows Peer dependencies error, and even tho I may install it with --force flag in locahost, but when in production, it crashes.

@TheSGJ
Copy link
Owner

TheSGJ commented Oct 30, 2024

Can you please provide the error reproduction, and hosted vercel deployment can help me figure it out

@davecarlson
Copy link

davecarlson commented Nov 16, 2024

import { PagesTopLoader } from "nextjs-toploader/pages";

<PagesTopLoader height={5} color={site.color || "#00a818"} />

Error: Failed to load external module nextjs-toploader/pages: Error: Cannot find module 'next/dist/server/route-modules/pages/vendored/contexts/head-manager-context'
Require stack:
- /Users/d/Code/proj/node_modules/next/dist/client/script.js
- /Users/d/Code/proj/node_modules/next/dist/shared/lib/router/router.js
- /Users/d/Code/proj/node_modules/next/dist/client/router.js
- /Users/d/Code/proj/node_modules/next/router.js
- /Users/d/Code/proj/node_modules/nextjs-toploader/dist/pages.js
- /Users/d/Code/proj/apps/agency-frontend/.next/server/chunks/ssr/[turbopack]_runtime.js
- /Users/d/Code/proj/apps/agency-frontend/.next/server/pages/_document.js
- /Users/d/Code/proj/apps/agency-frontend/node_modules/next/dist/server/require.js
- /Users/d/Code/proj/apps/agency-frontend/node_modules/next/dist/server/load-components.js
- /Users/d/Code/proj/apps/agency-frontend/node_modules/next/dist/build/utils.js
- /Users/d/Code/proj/apps/agency-frontend/node_modules/next/dist/build/swc/options.js
- /Users/d/Code/proj/apps/agency-frontend/node_modules/next/dist/build/swc/index.js
- /Users/d/Code/proj/apps/agency-frontend/node_modules/next/dist/build/analysis/parse-module.js
- /Users/d/Code/proj/apps/agency-frontend/node_modules/next/dist/build/analysis/get-page-static-info.js
- /Users/d/Code/proj/apps/agency-frontend/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js
- /Users/d/Code/proj/apps/agency-frontend/node_modules/next/dist/server/lib/router-server.js
- /Users/d/Code/proj/apps/agency-frontend/node_modules/next/dist/server/lib/start-server.js

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

3 participants