Navigate to your project directory and run npm init.
The -ginstructs npm to install Gulp globally on your computer (this means that you can use gulp commands anywhere on your computer.)īefore I continue, I am assuming you are familiar with the command line! After installing, you can install Gulp by running npm install gulp -g. It comes with a Node Package Manager(npm) which you can use to install Gulp. :) Installing nodeįirst, open the command line and install node.js on your computer. this is my first published article and I hope you love it. Ok I think I got a little bit carried away there…enough about me, let’s get started! I use Windows, and searching for an article that would solve my problem was like getting Jack in Black-ish to spell “decrease”. Setting it up can be frustrating sometimes, especially when you are new to it. So I decided to write something on Gulp-sass. Gyp verb `which` failed at FSReqCallback.I intern at a tech firm presently, and few days ago I got a challenge from my boss about writing an article. Gyp verb `which` failed python2 Error: not found: python2 Gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:183:21) Gyp verb `which` failed at C:\Users\user\Desktop\HPortf\node_modules\isexe\windows.js:36:5 Gyp verb `which` failed at C:\Users\user\Desktop\HPortf\node_modules\isexe\index.js:42:5 Gyp verb `which` failed at C:\Users\user\Desktop\HPortf\node_modules\which\which.js:89:16 Gyp verb `which` failed at E (C:\Users\user\Desktop\HPortf\node_modules\which\which.js:80:29) Gyp verb `which` failed at F (C:\Users\user\Desktop\HPortf\node_modules\which\which.js:68:19) Gyp verb `which` failed at getNotFoundError (C:\Users\user\Desktop\HPortf\node_modules\which\which.js:13:12) Gyp verb `which` failed Error: not found: python2 Gyp verb check python checking for Python executable "python2" in the PATH Gyp verb clean removing "build" directory Gyp verb cli 'C:\\Users\\user\\Desktop\\HPortf > postinstall C:\Users\user\Desktop\HPortf\node_modules\node-sassīuilding: C:\Program Files\nodejs\node.exe C:\Users\user\Desktop\HPortf\node_modules\node-gyp\bin\node-gyp.js rebuild -verbose -libsass_ext= -libsass_cflags= -libsass_ldflags= -libsass_library= Hint: If is not accessible in your location > install C:\Users\user\Desktop\HPortf\node_modules\node-sass Npm WARN using -force I sure hope you know what you are doing. PS C:\Users\user\Desktop\HPortf> npm rebuild node-sass -force I have tried to fix the problem with npm rebuild node-sass -force but it rise error too. (C:\Users\user\Desktop\HPortf\node_modules\gulp-sass\index.js:166:21) (C:\Users\user\Desktop\HPortf\node_modules\node-sass\lib\index.js:14:35)Īt Module._compile (node:internal/modules/cjs/loader:1083:30)Īt Object.Module._extensions.js (node:internal/modules/cjs/loader:1112:10)Īt Module.load (node:internal/modules/cjs/loader:948:32)Īt Function.Module._load (node:internal/modules/cjs/loader:789:14)Īt Module.require (node:internal/modules/cjs/loader:972:19)Īt require (node:internal/modules/cjs/helpers:88:18)Īt Object.
But whenever I try to run gulp I got this error: Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (88)įor more information on which environments are supported please see:Īt module.exports (C:\Users\user\Desktop\HPortf\node_modules\node-sass\lib\binding.js:13:13)Īt Object. I have tried to install gulp-sass latest version with npm i gulp-sass -save-dev in the begining I got a lot of errors but later solved them.