How to install sir trevor? I need a full tutorial, I am beginner and I haven't worked with node.js (I use node 8.12 and when I try to type npm install, npm run dev or another command, I receive error "deprecated" or 404).
I need explanation"like stupid"
https://pastebin.com/ttGLh5BP
$ npm install
> node-sass#3.13.1 install C:\xampp\htdocs\sir\node_modules\sir-trevor\node_modules\node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node":
HTTP error 404 Not Found
When you try to install a package with npm, you need to add the package name if you don't have it in a package.json file. Otherwise simply running npm install will only try to download the packages specified in your package.json file. If you want to install sir trevor, you need to put the package name after npm install like this:
npm install sir-trevor
To see more details about npm read the documentation
Related
I try to install node js npm packages, but It start to install and unfortunately freezes. I also try to install angular packages and it doesn't any problem. please help to fix this issue.
node version is 12.13.1;
npm version is 6.12.1;
I tried to install packages this way
npm i html-to-xlsx
here is a result:
another installation result:
Try the following commands then re-run the command:
npm cache clean --force
npm cache verify
And make sure you are in a place with good internet connection. Sometimes this is the issue.
I found way to fix this issue. I add -g before package name
npm install -g html-to-xlsx
Everything looks good
After that I enter this path C:\Users{USERNAME}\AppData\Roaming\npm\node_modules and copy needful module into my working folder
C:\Users\admin\AppData\Roaming\npm\express -> C:\Users\admin\AppData\Roaming\npm\node_modules\express-generator\bin\express-cli.js
I started by installing npm install , but nothing was installed , it says:
express-generator#4.16.1
updated 1 package in 0.437s
but nothing is there. I installed the packages as dependencies from package.json. I know what I want to use thus I copied them to the package.json file and the ran npm install.
When I run npm install express generator it gives me
:\Users\admin\AppData\Roaming\npm\express -> C:\Users\admin\AppData\Roaming\npm\node_modules\express-generator\bin\express-cli.js
what is the solution ?
You must use npm i express-generator -S
i was triyng to install babel and webpack by npm in command line
but when i type npm install it frezzes in this step exactly
: C:\Users\\AppData\Roaming\npm-cache_locks\staging-d144261d8cd07e07.lock
There could be a lot of different causes for your error as there is not a lot of information from you. If you have the time, please try the following:
Uninstall Node.js
Delete the cache folder from C:\Users\YourName\AppData\Roaming
Delete the node/npm file from C:\Users\YourName
Uninstall Git Bash
Install Node.js and Git Bash
After you did all of the steps, please try to npm install again.
So I'm trying to get myself a good Discord Selfbot and one of them requires nodejs, then it said to do npm install. But it gave me an error. I tried again again again and again but nothing worked. The latest thing I did was installing nodejs via scoop but I get this error trying to install npm. Is there a way to do this manually or something? I've tried installing different versions but nothing. I believe scoop installed the latest version.
Here's the image. (the red squares cover up just names)
You have npm already installed, seems that the problem is you don't have a package.json in that location. It says ENOENT: No such file or directory
You already have npm installed! npm is a package manager for installing nodejs packages. Try running some nonsense command (like "lkajshdflhsf") and you'll see what it looks like if you actually didn't have npm installed. What npm install does is install some package. So, for example, if you want to install a node package called Blah, you would run npm intall blah.
I have read many questions and articles but I don't have found a solution.
I have an npm package installed into my system, and I'm developing its new version.
I have download my repository make some updates and after I have followed the npm guide so I have done in this way inside my package folder:
npm install . -g
npm link
cd ../some-other-folder
npm install ../my-package
After these command I tried to launch my npm like:
my-package
But return me the same thing that old version, updates aren't shown.
How can I fix It?
How can I test my locally updates?