A
A
Artem Shornikov2019-04-26 16:01:49
.NET
Artem Shornikov, 2019-04-26 16:01:49

Gulp-sass module not installing?

Installing gulp-sass module on Windows 10 gives Microsoft .NET related error
"C:\Users\agani\Desktop\Gulp\node_modules\node-sass\build\binding.sln" (default target) (1) - >
"C:\Users\agani\Desktop\Gulp\node_modules\node-sass\build\binding.vcxproj.metaproj" (default target) (2) -
>
"C:\Users\agani\Desktop\Gulp\ node_modules\node-sass\build\src\libsass.vcxproj" (default target) (3) ->
C:\Users\agani\Desktop\Gulp\node_modules\node-sass\build\src\libsass.vcxproj( 20.3): error MSB4019: Imported project 'C:\Microsoft.Cpp.Default.props' not found. Check the path in the advertisement and the existence of the file on the disk.
Warnings: 0
Errors:
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\agani\Desktop\Gulp\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack at ChildProcess.emit(events.js:196:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:256:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\agani\\Desktop\\Gulp\\node_modules\\node-gyp\\bin\\node-gyp.js " "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:
gyp ERR! node -v v12.0.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\agani\AppData\Roaming\npm-cache\_logs\2019-04-26T12_52_06_554Z-debug.log

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Shornikov, 2019-05-08
@Artem71

The answer was given from git hub, it's just that the new version of node js is not yet suitable for gulp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question