-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install gulp-sass, node-gyp error despite everything up to date. #780
Comments
Looking at the dependency tree this is because gulp-sass depends on node-sass, which says it's deprecated (though new node-sass versions have an up-to-date node-gyp dependency). |
This is why I explicitly installed |
I created a fork of gulp-sass that doesn't list node-sass as a dependency at all: |
Having the same issue with. |
There is a package based on this project with dart-sass replacement https://www.npmjs.com/package/gulp-dart-sass. Try to use it instead of gulp-sass. |
@tbolon Hi! How you solved this issue? |
Hi, I am on a windows environment. I have the latest nodejs installed (v15) and installed manually all latest version of node-sass and node-gyp:
I have installed both python2 and python3
When I try to install
npm install gulp-sass --save-dev
I receive the following error:I don't understand why gyp still says it uses node-gyp@3.8.0 in
npm ERR! gyp info using node-gyp@3.8.0
, and why it still uses python2 scripts.I have tried to start from scratch (removed all my node_modules folder), reinstalled gulp locally from scratch and now I just want to install gulp-sass.
I have searched the node-gyp and node-sass repos for related issues without success...
It really seems to be a problem related to node-gyp and not gulp-sass, but as I have installed both them as dev dependencies, and the problem now occurs only when trying to install gulp-sass, I have decided to open an issue here.
Feel free to ask for more details.
Thanks,
The text was updated successfully, but these errors were encountered: