Closed tbolon closed 3 years ago
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).
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 "node-sass": "^5.0.0"
which is the latest version. But maybe it is not sufficient ?
I created a fork of gulp-sass that doesn't list node-sass as a dependency at all: https://yarnpkg.com/package/@selfisekai/gulp-sass https://www.npmjs.com/package/@selfisekai/gulp-sass https://git.sakamoto.pl/selfisekai/gulp-sass
Having the same issue with. node -v v15.5.0 node-gyp -v v3.8.0
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,