fix errors according to npm install - vue.js

I tried to npm install with vuejs and i stuck with this error
anyone help me
npm ERR! code E400
npm ERR! 400 Bad URI - GET http://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users..\AppData\Local\npm-cache_logs\2022-03-17T06_55_12_771Z-debug-0.log

Related

npm ERR! C:\Users\mithlesh\AppData\Roaming\npm-cache\_logs\2021-11-19T05_00_01_126Z-debug.log

i am trying to run react-router-dom but getting this error. understand me to this error mean and give to solve of this error
npm ERR! C:\Users\mithlesh\AppData\Roaming\npm-cache_logs\2021-11-19T05_00_01_126Z-debug.log
npm ERR! Failed at the my-app#0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\mithlesh\AppData\Roaming\npm-cache\_logs\2021-11-19T05_00_01_126Z-debug.log```

This command is not working : npm install --save-dev node--sass#4.7.2

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/node--sass - Notfound
npm ERR! 404
npm ERR! 404 'node--sass#4.7.2' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name
yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\HARIKA\AppData\Roaming\npm-cache\_logs\2020-05-
27T19_25_06_044Z-debug.log
C:\Users\HARIKA\Desktop\bootstrapassign1\Bootstrap4\conFusion>node-v 'node-v'
is not recognized as an internal or external command,operable program or
batch file.
I am getting this above error while installing node-sass into my windows7 using the command npm install --save-dev node--sass#4.7.2.
Can anyone help me please? Thank you in advance.
You might try reading the error message that NPM is logging:
npm ERR! 404 Not Found - GET https://registry.npmjs.org/node--sass - Notfound
npm ERR! 404
npm ERR! 404 'node--sass#4.7.2' is not in the npm registry.
^^^^^^^^^^
You're trying to install a package named node--sass which doesn't exist in NPM, rather than the desired package, node-sass, which does exist in NPM.

Problems with npm errors

I have a problem with create-react-app. When I type npm start into my console it show's multiple errors. I installed the newest version of node and webpack, and also do everything from this link.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! new-app#0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the new-app#0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Sakuy\AppData\Roaming\npm-cache\_logs\2018-10-02T20_14_18_618Z-debug.log
Have you installed react-scripts globally?.
It might be worth checking this previous post

Why npm start is not working and giving the following error messages:

I have one question regarding npm. Whenever I start npm, it gives the following error:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pomodorclock#1.0.0 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pomodorclock#1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
You first need to run npm install before you can build the package. After you can use npm start.

sudo npm install -g mocha not working

I am just running a basic mocha install command and its throwing the error in the mac terminal, Please suggest seeing the logs what can i do to get this running, Really appreciate the help.
AUK03154:~ itrmg$ sudo npm install –g mocha
Password:
npm ERR! 404 404 Not Found: %E2%80%93g
npm ERR! 404
npm ERR! 404 '%E2%80%93g' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "–g" "mocha"
npm ERR! cwd /Users/itrmg
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/itrmg/npm-debug.log
npm ERR! not ok code 0
Thanks
Deepesh
If you decode %E2%80%93g, you get -g. Something is wrong with the - character in -g. I copied the – character from your question to get its character code:
'–'.charCodeAt(0)
8211
Then I typed the dash myself:
'-'.charCodeAt(0)
45
As you can see your dash has a different character code. If you copy this command, it should work:
npm install -g mocha
If you did a copy-paste of that command from another webpage/text-editor, there are some unwanted characters which get copied. Try typing the same command manually, the error should go away.