I creating my new web and this is the first time I'm using gulp and I have problems with the installation itself.
I used npm install gulp-sass --save-dev
and I got this
E:\WebPages\MyPage>npm install gulp-sass
> node-sass#3.13.1 install E:\WebPages\MyPage\node_modules\gulp-
sass\node_modules\node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-
sass/releases/download/v3.13.1/win32-x64-59_binding.node
Cannot download "https://github.com/sass/node-
sass/releases/download/v3.13.1/win32-x64-59_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
Anyone knows how to fix this? Or how to install gulp-sass?
Thanks
Check if you have an updated version of node and npm running.
See https://github.com/sass/node-sass/issues/1911 for more possible solutions.
Related
Above is the attached picture of the problem I got. I have installed Nodejs and run npm install command to create a package.json file in the cypress folder but was still not able to install it.
Try this
npm config set registry http://registry.npmjs.org/
so that npm requests for http url instead of https.
and then try the same npm install command
clear your cache by doing npm cache clean.
NOTE can lead to a security problem since https is not used here. I don't recommend to use this on production.
If the above mentioned doesn't work:-
1)ping registry.npmjs.org
2)I was able to solve this by running the following command:
npm config delete proxy
npm config delete http-proxy
npm config delete https-proxy
If this method did not work, disabling your router's firewall would solve the issue immediately.
ETIMEDOUT Error while installing Node packages on Windows
Please follow the below steps to fix,
npm config set proxy false
npm cache clean --force
npm install cypress
Hope it will fix your installation issue.
I'm also finding the npm install cypress command to be not working.
A workaround is to use npm install cypress#4.0.1.
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
I am having so much problems with the proxy system of my entertprise
I was changing parameter using npm config set changing the variable proxy and http-proxy.
I installed in my .npmrc next lines
npm config set proxy http://my_user:my_password#10.3.12.130:8080 -g
npm config set https-proxy http://my_user:my_password#10.3.12.130:8080 -g
What I have in my mind it is try to install grunt in VS2012 without using npm, maybe like nuget.
Is it possible?
I am getting this error page when I am using npm install -g grunt-cli:
Yes it is possible, you can download grunt and run it in your node.js environment, if your only problem is proxy or firewall but you have working node.js environment then just download it from the github.
You can download any npm package which is published also on the github and then copy it manually to you node_modules folder. Just beware that those packages may have dependencies on their own. SO that means you should run npm install in those downloaded folders and if it doesn't work do it manually for every dependency recursively until you are finished.
No, it is not possible.
This is from the Grunt getting started guide:
Grunt and Grunt plugins are installed and managed via npm, the Node.js
package manager. Grunt 0.4.x requires stable Node.js versions >=
0.8.0. Odd version numbers of Node.js are considered unstable development versions.
I am not able to install packages using npm. I keep getting error shown in below image.
Using link1, link2, link3 I uninstalled nodejs. After installing the nodejs again, when I run npm config ls command, I can still see proxy details which I added earlier.
How can I ensure that when I uninstall nodejs it also removes all the config files.
I was setting proxy as
npm config set http_proxy=http://myproxy address:8080
which is wrong now I use
npm config set proxy http://myproxy address:8080
and I am able to install packages.
I used the node windows installer v0.8.3 to install nodejs.
When I try to install express like this:
npm install express
It's not working. I think that is because my company is using a proxy, so I downloaded express from github https://github.com/visionmedia/express, but I don't know how to install.
I unzip the file and put them in F/express/. Please help me? I'm on Windows
When I try to install from F:/express/ using the following commands
cd F:/express
npm install ./express
or
npm install .
I get the following error:
error: connect ETIMEDOUT
at errnoException (net.js:776:11)
at Object.afterConnect [as oncomplete] (net.js:767:19)
And when when I try to do
npm install F:/express
It shows
express#3.0.0beta7 prepublish F:/express/
npm prune
followed by lots of http get messages and then the same error
express itself has a lot of dependencies which I believe npm also tries to retrieve if you issue npm install. I think you should just configure proxy properly => http://jjasonclark.com/how-to-setup-node-behind-web-proxy?
It would probably be most convenient long-term to configure NPM to use the aforementioned proxy through one of the following methods (In the following, replace $PROXY with your proxy in the form $PROTOCOL://$DOMAIN:$PORT (e.g. http://proxy.server:80))
A. Set the environment variables http_proxy and https_proxy to $PROXY
B.
npm set proxy $PROXY
npm set https-proxy $PROXY
If you have trouble getting packages because of a proxy or other internet connection problem then set up the project on another machine. Then copy the project over to your target. It will have all the files that you need.
Try npm install .\express (assuming the express folder is in the current folder).
The problem is that express in npm install express is parsed as a package name, while .\express in npm install .\express is parsed as a folder name.
You will want to run npm install . from within your F:/express/ folder (or npm install -g . for a global install).
It looks like you downloaded beta version (3.0.0beta7). Try installing the latest stable version (2.5.11):
npm install https://github.com/visionmedia/express/tarball/2.5.11