installation troubles, packages failing
-
Trying to install everything strictly after the guide at https://docs.nodebb.org/installing/os/windows/ (yes, I am on windows), the installation step keeps throwing me into errors.
noteably the nodebb-plugin-emoji-android package just doesn't want to install, be that the version that it expected (run via
nodebb setup
) or attempting to manually runnpm install nodebb-plugin-emoji-android@latest
but fail.latest returns:
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/textcomplete npm ERR! textcomplete@"^0.17.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer textcomplete@"^0.14.2" from [email protected] npm ERR! node_modules/textcomplete.contenteditable npm ERR! textcomplete.contenteditable@"^0.1.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See C:\Users\...\AppData\Local\npm-cache\eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\...\AppData\Local\npm-cache\_logs\2021-04-06T15_30_09_718Z-debug.log
Happy to hear any kind of suggestion! Would love to get this to work, looks really promising compared to other solutions I've seen so far.
-
@passive try downgrading npm
Error on "./nodebb setup"
@ivorzk ah sorry it's actually the npm version that matters here. You need to downgrade to the previous major version: npm install --global npm@6
NodeBB Community (community.nodebb.org)