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 inflight@1.0.6: 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 q@1.5.1: 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 har-validator@5.1.5: this library is no longer supported npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated uuid@3.4.0: 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 json2csv@5.0.7: 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 npm@10.8.2 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 inflight@1.0.6: 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