Issue with npm after clean install
Solved
Technical Support
-
Hi,
I am installing on ubuntu 22 and following this
https://docs.nodebb.org/installing/os/ubuntu/
and I am getting an issue when running nodebb setup.After following that guide steps I create my own config with cli and populate it correctly and everything is fine.
But I am getting this the first time I runnodebb setup [json credentials]
This is the error I am getting:
Dependencies outdated or not yet installed. npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated [email protected]: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other. npm warn deprecated npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp) npm warn deprecated [email protected]: this library is no longer supported npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead npm warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported npm warn deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm notice npm notice New minor version of npm available! 10.7.0 -> 10.8.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2 npm notice To update run: npm install -g [email protected] npm notice stderr_lines: <omitted> stdout: |- Installing them now... added 904 packages, and audited 905 packages in 3m 102 packages are looking for funding run `npm fund` for details 5 moderate severity vulnerabilities To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. OK
Then the process continue.
Do I need to worry about this?
ThanksUbuntu (Recommended) - NodeBB Documentation
Documentation portal for NodeBB Forum Software
(docs.nodebb.org)
-
There's no error in what you shared, only warnings. You can ignore them.
-
You are right. Language mistake.
I meant this5 moderate severity vulnerabilities To address all issues possible (including breaking changes), run: npm audit fix --force
And
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
Shall we ignore those too?
-
Copyright © 2024 NodeBB | Contributors