%1 is not a valid WIN32 application

Source: Internet
Author: User

Hope to help you, afraid you worry!

Look at the resolution step, then look at the description

NPM RM node-sassnpm Install Node-sass

  

Reinstall the Node-sass module

/*************************************************************************************/

When I build a new front-end development framework, using Gulp-sass to compile scss files, Gulpfile is written in this way;

var gulp = require (' Gulp '); var sass = require (' Gulp-sass '); Gulp.task (function  () {    return GULP.SRC (' css/*.scss ', opt)        . Pipe (Sass (). On (' error ', Sass.logerror))        . Pipe (Gulp.dest (Dist ));});

Error after running Gulp SASS command

F:\study\studygulp>gulp Sass (node:8488) fs:re-evaluating native module sources is not supported. If you is using the GRACEFUL-FS module, please update it to a more recent version.module.js:568  return Process.dlopen (module, path._makelong (filename));                 ^error:%1 is not a valid Win32 application.\\?\f:\study\studygulp\node_modules\node-sass\vendor\win32-x64-48\ Binding.node at    Error (native) at    object.module._extensions. Node (module.js:568:18) at    module.load (module.js:458:32) at    trymoduleload (module.js:417:12)    at Function.module._load (Module.js:409:3) at    Module.require (module.js:468:17) at    require (internal/module.js : 20:19) at    object.<anonymous> (f:\study\studygulp\node_modules\node-sass\lib\index.js:24:15)    at Module._compile (module.js:541:32) at    object.module._extensions. JS (module.js:550:10)

  

%1 is not a valid WIN32 application

Inexplicable error, the code does not have any 1% ah;

Finally found the answer link in GitHub issues https://github.com/sass/node-sass/issues/468

The steps to resolve are as follows

NPM RM node-sassnpm Install Node-sass

Reinstall the Node-sass module

Then compile the perfect run, over

%1 is not a valid WIN32 application

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.