Discussions

Ask a Question
Back to All

next js demo

hello

I downloaded and installed your InterActiveAvatarNextJsDemo code from GitHub, but no matter how much I try, the dependencies listed in the package.json file won’t install. I keep getting errors, even when using npm i --force. I also encounter the same errors when uploading it to the server.

[2024-12-19 08:07:12] => Updating Service Timezone ...
[2024-12-19 08:07:12] => Creating Service Default User ...
[2024-12-19 08:07:12] => Check npm Registry ...
[2024-12-19 08:07:13] https://registry.npmjs.org/
[2024-12-19 08:07:14] yarn config v1.22.22
[2024-12-19 08:07:14] success Set "registry" to "https://registry.npmjs.org/".
[2024-12-19 08:07:14] Done in 0.18s.
[2024-12-19 08:07:14] => Installing Packages ...
[2024-12-19 08:07:14] => Running npm Install ...
[2024-12-19 08:07:19] npm error code ERESOLVE
[2024-12-19 08:07:19] npm error ERESOLVE unable to resolve dependency tree
[2024-12-19 08:07:19] npm error
[2024-12-19 08:07:19] npm error While resolving: [email protected]
[2024-12-19 08:07:19] npm error Found: @nextui-org/system@undefined
[2024-12-19 08:07:19] npm error node_modules/@nextui-org/system
[2024-12-19 08:07:19] npm error @nextui-org/system@"2.2.7" from the root project
[2024-12-19 08:07:19] npm error
[2024-12-19 08:07:19] npm error Could not resolve dependency:
[2024-12-19 08:07:19] npm error peer @nextui-org/system@">=2.0.0" from @nextui-org/[email protected]
[2024-12-19 08:07:19] npm error node_modules/@nextui-org/button
[2024-12-19 08:07:19] npm error @nextui-org/button@"2.0.34" from the root project
[2024-12-19 08:07:19] npm error
[2024-12-19 08:07:19] npm error Fix the upstream dependency conflict, or retry
[2024-12-19 08:07:19] npm error this command with --force or --legacy-peer-deps
[2024-12-19 08:07:19] npm error to accept an incorrect (and potentially broken) dependency resolution.
[2024-12-19 08:07:19] npm error
[2024-12-19 08:07:19] npm error
[2024-12-19 08:07:19] npm error For a full report see:
[2024-12-19 08:07:19] npm error /root/.npm/_logs/2024-12-19T04_37_15_188Z-eresolve-report.txt
[2024-12-19 08:07:19] npm error A complete log of this run can be found in: /root/.npm/_logs/2024-12-19T04_37_15_188Z-debug-0.log