已购 npm安装报错

npm ERR! code 1
npm ERR! path C:\Users\Administrator\Desktop\reflect-blog-mp-halo\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js
npm ERR! Building: C:\Program Files\nodejs\node.exe C:\Users\Administrator\Desktop\reflect-blog-mp-halo\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm ERR! gyp verb cli   'C:\\Users\\Administrator\\Desktop\\reflect-blog-mp-halo\\node_modules\\node-gyp\\bin\\node-gyp.js',
npm ERR! gyp verb cli   'rebuild',
npm ERR! gyp verb cli   '--verbose',
npm ERR! gyp verb cli   '--libsass_ext=',
npm ERR! gyp verb cli   '--libsass_cflags=',
npm ERR! gyp verb cli   '--libsass_ldflags=',
npm ERR! gyp verb cli   '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@16.6.1 | win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
npm ERR! gyp verb `which` failed Error: not found: python2
npm ERR! gyp verb `which` failed     at getNotFoundError (C:\Users\Administrator\Desktop\reflect-blog-mp-halo\node_modules\node-gyp\node_modules\which\which.js:13:12)
npm ERR! gyp verb `which` failed     at F (C:\Users\Administrator\Desktop\reflect-blog-mp-halo\node_modules\node-gyp\node_modules\which\which.js:68:19)
npm ERR! gyp verb `which` failed     at E (C:\Users\Administrator\Desktop\reflect-blog-mp-halo\node_modules\node-gyp\node_modules\which\which.js:80:29)
npm ERR! gyp verb `which` failed     at C:\Users\Administrator\Desktop\reflect-blog-mp-halo\node_modules\node-gyp\node_modules\which\which.js:89:16
npm ERR! gyp verb `which` failed     at C:\Users\Administrator\Des
  • wuer 回复了此帖

    wuer 已解决,原因是node版本问题,测试只有1.4可行,最新版会报以上错误。。

    大佬我申请群聊和共享了,麻烦通过哈

    大佬有没有后面有没有想法支持公众号导流插件

    2 个月 后
    1 个月 后
    1 个月 后
    4 个月 后
    1 年 后

    天涯任逍遥 2.x 现在不支持手动设置 Access Key,后续会提供 Personal Access Token 的功能。并且这个小程序应该还不支持 2.x。

    halo这么强悍都没收费,你这个小程序要收费????