Node-gyp: Node Sass compiling failed when upgraded to NodeJS 7.7.1

Created on 2 Mar 2017  路  1Comment  路  Source: nodejs/node-gyp

Updated to Node from 7.7.0 and avoid the tracing related compile failure, but still encountered new problem when I create a new Angular 2 project using Angular CLI(1.0.0-rc.0).

The failure messages:

 "E:\temp\mean-docker\client\node_modules\node-sass\build\Release\libsass.lib"     
:\Users\hantsy\.node-gyp\7.7.1\Release\node.lib : fatal error LNK1106: invalid file
or disk full: cannot seek to 0x7AAC0 [E:\temp\mean-docker\client\node_modules\node-
ass\build\binding.vcxproj]                                                         
one Building Project "E:\temp\mean-docker\client\node_modules\node-sass\build\bindi
g.vcxproj" (default targets) -- FAILED.                                            

one Building Project "E:\temp\mean-docker\client\node_modules\node-sass\build\bindi
g.vcxproj.metaproj" (default targets) -- FAILED.                                   

one Building Project "E:\temp\mean-docker\client\node_modules\node-sass\build\bindi
g.sln" (default targets) -- FAILED.                                                


uild FAILED.                                                                       

Angular CLI works with NodeJS 7.6.0

Most helpful comment

Try removing node.lib (better yet, delete .node-gyp\7.7.1\ entirely) so that node-gyp downloads it again from https://nodejs.org/. If the linker keeps complaining that the file is corrupt, please file an issue with nodejs/node. Good luck.

>All comments

Try removing node.lib (better yet, delete .node-gyp\7.7.1\ entirely) so that node-gyp downloads it again from https://nodejs.org/. If the linker keeps complaining that the file is corrupt, please file an issue with nodejs/node. Good luck.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Yamakaky picture Yamakaky  路  3Comments

halkar picture halkar  路  4Comments

chen4393 picture chen4393  路  3Comments

swaj picture swaj  路  3Comments

good-idea picture good-idea  路  3Comments