You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
下面的错误信息可以看到,运行gulp-sass中的node-sass时失败,这里是3.2.1版本的gulp-sass它依赖4.14版本的node-saas,运行这个saas的时候和我用的node版本(16)不兼容,(4.14版本的node-sass对应的node版本的是14),但是如果我用14版本的node,又会导致其他依赖不兼容:error @noble/[email protected]: The engine "node" is incompatible with this module. Expected version ">= 16". Got "14.16.0"
error D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-sass
Output:
Building: C:\environment\nodejs\node.exe D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_lib
rary=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli 'C:\environment\nodejs\node.exe',
gyp verb cli 'D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-gyp\bin\node-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 [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb download using dist-url https://npm.taobao.org/dist
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which failed Error: not found: python2
gyp verb which failed at getNotFoundError (D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:13:12)
gyp verb which failed at F (D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:68:19)
gyp verb which failed at E (D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:80:29)
gyp verb which failed at D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:89:16
gyp verb which failed at D:\project\fingernft\fingernft\vue-web\node_modules\isexe\index.js:42:5
gyp verb which failed at D:\project\fingernft\fingernft\vue-web\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqCallback.oncomplete (node:fs:198:21)
gyp verb which failed python2 Error: not found: python2
gyp verb which failed at getNotFoundError (D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:13:12)
gyp verb which failed at F (D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:68:19)
gyp ERR! System Windows_NT 10.0.19044
gyp ERR! command "C:\environment\nodejs\node.exe" "D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ext=" "--libsass_cflags="
"--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-sass
gyp ERR! node -v v16.15.1
The text was updated successfully, but these errors were encountered:
下面的错误信息可以看到,运行gulp-sass中的node-sass时失败,这里是3.2.1版本的gulp-sass它依赖4.14版本的node-saas,运行这个saas的时候和我用的node版本(16)不兼容,(4.14版本的node-sass对应的node版本的是14),但是如果我用14版本的node,又会导致其他依赖不兼容:error @noble/[email protected]: The engine "node" is incompatible with this module. Expected version ">= 16". Got "14.16.0"
error D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-sass
Output:
Building: C:\environment\nodejs\node.exe D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_lib
rary=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli 'C:\environment\nodejs\node.exe',
gyp verb cli 'D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-gyp\bin\node-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 [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb download using dist-url https://npm.taobao.org/dist
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb
which
failed Error: not found: python2gyp verb
which
failed at getNotFoundError (D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:13:12)gyp verb
which
failed at F (D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:68:19)gyp verb
which
failed at E (D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:80:29)gyp verb
which
failed at D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:89:16gyp verb
which
failed at D:\project\fingernft\fingernft\vue-web\node_modules\isexe\index.js:42:5gyp verb
which
failed at D:\project\fingernft\fingernft\vue-web\node_modules\isexe\windows.js:36:5gyp verb
which
failed at FSReqCallback.oncomplete (node:fs:198:21)gyp verb
which
failed python2 Error: not found: python2gyp verb
which
failed at getNotFoundError (D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:13:12)gyp verb
which
failed at F (D:\project\fingernft\fingernft\vue-web\node_modules\which\which.js:68:19)gyp ERR! System Windows_NT 10.0.19044
gyp ERR! command "C:\environment\nodejs\node.exe" "D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ext=" "--libsass_cflags="
"--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\project\fingernft\fingernft\vue-web\node_modules\gulp-sass\node_modules\node-sass
gyp ERR! node -v v16.15.1
The text was updated successfully, but these errors were encountered: