We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I try to install alongside next 15 an error is raised including
npm error Conflicting peer dependency: [email protected] npm error node_modules/next npm error peer next@"^9.5.0 || ^10.2.1 || ^11.1.0 || ^12.1.0 || ^13.0.0 || ^14.0.0" from [email protected] npm error node_modules/next-safe npm error next-safe@"^3.5.0" from the root project
next-safe
npm add next-safe
v3.x.x
❯ npm add next-safe npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: [email protected] npm error node_modules/next npm error next@"15.0.3" from the root project npm error npm error Could not resolve dependency: npm error peer next@"^9.5.0 || ^10.2.1 || ^11.1.0 || ^12.1.0 || ^13.0.0 || ^14.0.0" from [email protected] npm error node_modules/next-safe npm error next-safe@"*" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error
The text was updated successfully, but these errors were encountered:
This would be great, especially if this project is still maintained
Sorry, something went wrong.
The issue is that React 15 relies on React 19, which uses a new (and very different) reconciler.
This comment provides more context on my plans for the library.
We ended up building a new library because this one seems unmaintained: https://blog.arcjet.com/nosecone-a-library-for-setting-security-headers-in-next-js-sveltekit-node-js-bun-and-deno/
trezy
Successfully merging a pull request may close this issue.
Describe the bug
When I try to install alongside next 15 an error is raised including
Steps To Reproduce
next-safe
:Version
v3.x.x
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: