前言:
运行小程序代码时出现这个报错,百度了好久终于解决,整理一下以作纪念。
报错:
error G:CodesXXX
ode_modules
ode-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: G:CodesXXX
ode_modules
ode-sass
Output:
Building: C:Program Files
odejs
ode.exe G:CodesXXX
ode_modules
ode-gypin
ode-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli 'C:\Program Files
odejs
ode.exe’,
gyp verb cli ‘G:\Codes\XXX
ode_modules
ode-gyp\bin
ode-gyp.js’,
gyp verb cli ‘rebuild’,
gyp verb cli ‘–verbose’,
gyp verb cli ‘–libsass_ext=’,
gyp verb cli ‘–libsass_cflags=’,
gyp verb cli ‘–libsass_ldflags=’,
gyp verb cli ‘–libsass_library=’
gyp verb cli ]
gyp info using node-gyp@3.8.0<