nono-lqdn@community.nodebb.orgtoTechnical Support@community.nodebb.org•v4.0.0 Upgrade Support
0·
8 days agoHello,
I have this error while upgrading to 4.0.0 :
2. Bringing base dependencies up to date... started
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: nodebb-plugin-emoji-one@4.0.0
npm error Found: nodebb-plugin-emoji@6.0.1
npm error node_modules/nodebb-plugin-emoji
npm error nodebb-plugin-emoji@"6.0.1" from the root project
npm error peer nodebb-plugin-emoji@"^5.0.0 || ^6.0.1" from nodebb-plugin-emoji-android@4.1.1
npm error node_modules/nodebb-plugin-emoji-android
npm error nodebb-plugin-emoji-android@"4.1.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer nodebb-plugin-emoji@"^5.0.0" from nodebb-plugin-emoji-one@4.0.0
npm error node_modules/nodebb-plugin-emoji-one
npm error nodebb-plugin-emoji-one@"4.0.0" from the root project
npm error
npm error Conflicting peer dependency: nodebb-plugin-emoji@5.2.0
npm error node_modules/nodebb-plugin-emoji
npm error peer nodebb-plugin-emoji@"^5.0.0" from nodebb-plugin-emoji-one@4.0.0
npm error node_modules/nodebb-plugin-emoji-one
npm error nodebb-plugin-emoji-one@"4.0.0" 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
npm error
npm error For a full report see:
npm error /srv/nodebb/.npm/_logs/2025-01-23T16_21_06_646Z-eresolve-report.txt
@nono-lqdn Fixed by doing :
npm unl nodebb-plugin-emoji npm i nodebb-plugin-emoji