Reputation: 1
The image shows what I have tried and I was expecting to install underscore.
Help with this matter would be greatly appreciated. I believe the image shows all the information needed. Plesase let me know if you require any further information.
PS D:\Mosh\Mosh Node.js Course> npm-demo npm i underscore
npm-demo : The term 'npm-demo' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ npm-demo npm i underscore
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (npm-demo:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS D:\Mosh\Mosh Node.js Course> cd npm-demo
PS D:\Mosh\Mosh Node.js Course\npm-demo> npm i underscore
npm WARN npm npm does not support Node.js v23.9.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! cb.apply is not a function
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\richa\AppData\Roaming\npm-cache\_logs\2025-02-28T12_12_27_076Z-debug.log
PS D:\Mosh\Mosh Node.js Course\npm-demo> npm -v
5.5.1
PS D:\Mosh\Mosh Node.js Course\npm-demo> node -v
v23.9.0
Upvotes: -2
Views: 30